From 578e390253267ea85b1d0aad78dca18580aaef35 Mon Sep 17 00:00:00 2001 From: Kallesh B S Date: Wed, 25 Jun 2025 17:04:51 +0530 Subject: [PATCH] domain added --- src/main.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index fc815fe..b2eb376 100644 --- a/src/main.ts +++ b/src/main.ts @@ -14,7 +14,13 @@ async function bootstrap() { logger: ['error', 'warn'], cors: { // origin: 'https://dev.alphaomegainfosys.com/', - origin: ['http://localhost:3000', 'http://localhost:5173'], + origin: [ + 'http://localhost:3000', + 'http://localhost:5173', + 'https://policy.alphaomegainfosys.com/', + 'https://sp.alphaomegainfosys.com', + 'https://client.alphaomegainfosys.com' + ], methods: 'GET,HEAD,PUT,PATCH,POST,DELETE', preflightContinue: false, optionsSuccessStatus: 204,