From 2a89bdf2d30e647b3151967d04e095716f7dcc1f Mon Sep 17 00:00:00 2001 From: Benjamin Frost Date: Sun, 19 May 2024 23:34:26 +0200 Subject: [PATCH] fix: cors missing --- src/main.ts | 1 + 1 file changed, 1 insertion(+) 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();