From 8c1bcb55636233bf9bcea1899c96acdf8b40d188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A4=EC=A4=80=EC=88=98?= <99115509+hoheesu@users.noreply.github.com> Date: Tue, 14 Jan 2025 02:10:16 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=BD=94=EC=8A=A4=EC=97=90=EB=9F=AC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index ef2c0ff..bf7ee8b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,7 +12,11 @@ async function bootstrap() { const app = await NestFactory.create(AppModule); app.enableCors({ - origin: 'http://localhost:3000', + origin: [ + 'http://localhost:5173', + 'http://localhost:3000', + 'https://api.davincicodegame.store', + ], credentials: true, }); app.use(cookieParser());