cors
This commit is contained in:
parent
fe534a7875
commit
e43680f798
@ -8,6 +8,7 @@ async function bootstrap() {
|
||||
// Build allowed origins list from environment variables
|
||||
const allowedOrigins = [
|
||||
process.env.FRONTEND_URL ?? 'http://localhost:5173',
|
||||
'https://placebo.mk', // Production domain
|
||||
'https://www.placebo.mk', // Also allow www subdomain
|
||||
process.env.PWA_URL ?? 'http://localhost:5174',
|
||||
process.env.STRAPI_URL ?? 'http://localhost:1337',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user