Skip to content

Commit 3c3f6f3

Browse files
authored
Update configRoutes.ts
1 parent 9f10f3f commit 3c3f6f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/configRoutes.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ export const config: { ports: PortConfig[] } = {
66
port: 9004,
77
gateway: '127.0.0.1:2004',
88
routes: [
9-
{ method: 'POST', path: '/v1/member/register', target: '127.0.0.1:30031' },
10-
{ method: 'POST', path: '/v1/login', target: '127.0.0.1:30031' },
9+
{ method: '*', path: '/v1/member/register', target: '127.0.0.1:30031' },
10+
{ method: '*', path: '/v1/login', target: '127.0.0.1:30031' },
11+
{ method: '*', path: '/v1/verifycode', target: '127.0.0.1:30031' },
12+
{ method: '*', path: '/v1/getforgetcode', target: '127.0.0.1:30031' },
1113
]
1214
},
1315
{

0 commit comments

Comments
 (0)