From e43680f79870700ce2593618660a17349601a3ff Mon Sep 17 00:00:00 2001 From: echo Date: Mon, 9 Mar 2026 11:17:44 +0100 Subject: [PATCH] cors --- backend/src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main.ts b/backend/src/main.ts index 715666a..fddc34e 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -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',