This commit is contained in:
echo 2026-03-09 11:17:44 +01:00
parent fe534a7875
commit e43680f798

View File

@ -8,6 +8,7 @@ async function bootstrap() {
// Build allowed origins list from environment variables // Build allowed origins list from environment variables
const allowedOrigins = [ const allowedOrigins = [
process.env.FRONTEND_URL ?? 'http://localhost:5173', process.env.FRONTEND_URL ?? 'http://localhost:5173',
'https://placebo.mk', // Production domain
'https://www.placebo.mk', // Also allow www subdomain 'https://www.placebo.mk', // Also allow www subdomain
process.env.PWA_URL ?? 'http://localhost:5174', process.env.PWA_URL ?? 'http://localhost:5174',
process.env.STRAPI_URL ?? 'http://localhost:1337', process.env.STRAPI_URL ?? 'http://localhost:1337',