Skip to content

Commit 24af2d1

Browse files
committed
allow prod env in cors
1 parent abba554 commit 24af2d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function bootstrap() {
3030
'http://localhost:3000',
3131
/\.localhost:3000$/,
3232
ENV_CONFIG.TOPCODER_WALLET_URL,
33-
/^https:\/\/[\w-]+\.topcoder-dev\.com$/, // allow wallet-v6 and other subdomains
33+
/^https:\/\/[\w-]+\.topcoder(-dev)?\.com$/, // allow wallet-v6 and other subdomains
3434
];
3535

3636
const corsConfig: cors.CorsOptions = {

0 commit comments

Comments
 (0)