diff --git a/packages/altair-api/src/app-bootstrap.ts b/packages/altair-api/src/app-bootstrap.ts index 3cf66bfdf8..1d261d575b 100644 --- a/packages/altair-api/src/app-bootstrap.ts +++ b/packages/altair-api/src/app-bootstrap.ts @@ -51,7 +51,7 @@ export const bootstrapApp = async (app: INestApplication) => { // Cors if (corsConfig?.enabled) { - app.enableCors(); + app.enableCors({ origin: true }); } return app;