diff --git a/apps/api/src/main.ts b/apps/api/src/main.ts index c7aef94..3f891f4 100644 --- a/apps/api/src/main.ts +++ b/apps/api/src/main.ts @@ -5,6 +5,10 @@ import { AppModule } from "./app.module"; async function bootstrap(): Promise { const app = await NestFactory.create(AppModule); + app.enableCors({ + origin: true, + credentials: true + }); app.useGlobalPipes( new ValidationPipe({ transform: true,