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());