Skip to content

Commit

Permalink
enable cors origin
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Jul 15, 2024
1 parent 21e08b5 commit 047303f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/altair-api/src/app-bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const bootstrapApp = async (app: INestApplication) => {

// Cors
if (corsConfig?.enabled) {
app.enableCors();
app.enableCors({ origin: true });
}

return app;
Expand Down

0 comments on commit 047303f

Please sign in to comment.