diff --git a/src/main.ts b/src/main.ts index 08f9028..57a2450 100644 --- a/src/main.ts +++ b/src/main.ts @@ -30,7 +30,7 @@ async function bootstrap() { 'http://localhost:3000', /\.localhost:3000$/, ENV_CONFIG.TOPCODER_WALLET_URL, - /^https:\/\/[\w-]+\.topcoder-dev\.com$/, // allow wallet-v6 and other subdomains + /^https:\/\/[\w-]+\.topcoder(-dev)?\.com$/, // allow wallet-v6 and other subdomains ]; const corsConfig: cors.CorsOptions = {