Rahat_Rock
02/25/2023, 2:28 PMapp.enableCors({
origin: [
'*',
'http://localhost:3001',
'http://localhost:3000',
'https://*.vercel.app',
'https://*.vercel.app/*',
],
allowedHeaders: ['content-type', ...supertokens.getAllCORSHeaders()],
credentials: true,
});
But for all the vercel preview builds, we can't test the app because of CORS issues.
Any Idea how to fix it.??rp
02/25/2023, 2:30 PMRahat_Rock
02/25/2023, 2:33 PMrp
02/25/2023, 2:34 PMRahat_Rock
02/25/2023, 2:36 PMrp
02/25/2023, 2:37 PMRahat_Rock
02/25/2023, 2:37 PMrp
02/25/2023, 2:38 PMRahat_Rock
02/25/2023, 2:54 PMrp
02/25/2023, 2:55 PMRahat_Rock
02/25/2023, 2:55 PMrp
02/25/2023, 2:55 PMRahat_Rock
02/25/2023, 2:56 PM