diff --git a/src/main.ts b/src/main.ts index cd4ce58..837dc52 100644 --- a/src/main.ts +++ b/src/main.ts @@ -7,6 +7,7 @@ async function bootstrap() { const app = await NestFactory.create(RootModule); app.use(cookieParser()); + app.enableCors(); await app.listen(3000); }