Skip to content

Commit 53b095d

Browse files
committed
Better tweak to CORS for v6 testing
1 parent 03fc187 commit 53b095d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ async function bootstrap() {
3030
'http://localhost:3000',
3131
/\.localhost:3000$/,
3232
ENV_CONFIG.TOPCODER_WALLET_URL,
33-
//Temporary for v6 testing
34-
'https://*.topcoder-dev.com',
33+
/^https:\/\/[\w-]+\.topcoder-dev\.com$/, // allow wallet-v6 and other subdomains
3534
];
3635

3736
const corsConfig: cors.CorsOptions = {

0 commit comments

Comments
 (0)