domain added

This commit is contained in:
Kallesh B S 2025-06-25 17:04:51 +05:30
parent 600a1f7d75
commit 578e390253

View File

@ -14,7 +14,13 @@ async function bootstrap() {
logger: ['error', 'warn'], logger: ['error', 'warn'],
cors: { cors: {
// origin: 'https://dev.alphaomegainfosys.com/', // 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', methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
preflightContinue: false, preflightContinue: false,
optionsSuccessStatus: 204, optionsSuccessStatus: 204,