rayhan_rahat
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_st
02/25/2023, 2:30 PMrp_st
02/25/2023, 2:31 PMrayhan_rahat
02/25/2023, 2:33 PMrp_st
02/25/2023, 2:34 PMrp_st
02/25/2023, 2:35 PMrayhan_rahat
02/25/2023, 2:36 PMrayhan_rahat
02/25/2023, 2:36 PMrp_st
02/25/2023, 2:37 PMrayhan_rahat
02/25/2023, 2:37 PMrp_st
02/25/2023, 2:38 PMrayhan_rahat
02/25/2023, 2:54 PMrp_st
02/25/2023, 2:55 PMrayhan_rahat
02/25/2023, 2:55 PMrp_st
02/25/2023, 2:55 PMrayhan_rahat
02/25/2023, 2:56 PMrayhan_rahat
02/25/2023, 3:04 PM