From b8a30418a28358e33d1364233d9f35c4299d2bec Mon Sep 17 00:00:00 2001 From: shafi54 <108669266+shafi-aviz@users.noreply.github.com> Date: Tue, 8 Sep 2026 13:41:44 +0530 Subject: [PATCH] Update app.ts --- apps/backend/src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/src/app.ts b/apps/backend/src/app.ts index 857e740..19066d5 100644 --- a/apps/backend/src/app.ts +++ b/apps/backend/src/app.ts @@ -14,7 +14,7 @@ export const createApp = () => { // CORS middleware app.use(cors({ - origin: ['http://localhost:5174', 'http://localhost:4174', 'https://ui.freshyo.in', 'https://www.freshyo.in', 'https://webui.freshyo.in', 'https://app.freshyo.in'], + origin: ['http://localhost:5174', 'http://localhost:4174', 'https://ui.freshyo.in', 'https://www.freshyo.in', 'https://webui.freshyo.in', 'https://app.freshyo.in', 'https://admin.freshyo.in'], allowMethods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'], allowHeaders: ['Origin', 'X-Requested-With', 'Content-Type', 'Accept', 'Authorization', 'Caller-Interface'], credentials: true,