Skip to content

Commit 5e6346a

Browse files
committed
Update HTTP methods for member routes in configRoutes.ts
1 parent 93ab8ff commit 5e6346a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/configRoutes.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ export const config: { ports: PortConfig[] } = {
66
port: 9004,
77
gateway: '127.0.0.1:2004',
88
routes: [
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' },
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' },
11+
{ method: 'POST', path: '/v1/verifycode', target: '127.0.0.1:30031' },
12+
{ method: 'POST', path: '/v1/getforgetcode', target: '127.0.0.1:30031' },
13+
{ method: 'POST', path: '/v1/resendactive', target: '127.0.0.1:30031' },
1314
]
1415
},
1516
{

0 commit comments

Comments
 (0)