From 288a796f464d0faed19a37e2e10cf7da0878ce0b Mon Sep 17 00:00:00 2001 From: marcos-silva-rodrigues Date: Mon, 8 Sep 2025 15:22:26 -0300 Subject: [PATCH] UPDATE: test cors domain --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 13a6dff..9037d96 100644 --- a/src/main.ts +++ b/src/main.ts @@ -21,7 +21,7 @@ async function bootstrap() { const app = await NestFactory.create(AppModule, { logger, cors: { - origin: '*', + origin: 'https://app.stg.dadosfera.ai', methods: 'GET,HEAD,PUT,PATCH,POST,DELETE', preflightContinue: false, optionsSuccessStatus: 204,