diff --git a/api/src/main.ts b/api/src/main.ts index a8b7d22e..108c7672 100644 --- a/api/src/main.ts +++ b/api/src/main.ts @@ -31,6 +31,7 @@ async function bootstrap() { app.disable('x-powered-by'); app.set('trust proxy', 1); + app.enableCors(); const port = configService.get('PORT') || 3000;