diff --git a/src/main.ts b/src/main.ts index 13cad38..da5451c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,6 +3,7 @@ import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create(AppModule); + app.enableCors(); await app.listen(3000); } bootstrap();