Skip to content

Commit

Permalink
updated header options
Browse files Browse the repository at this point in the history
  • Loading branch information
jazicorn committed Oct 5, 2023
1 parent 89777df commit e1796cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class App {
res.sendStatus(204);
});
this.app.use(cors({
origin: this.corsOptions
origin: this.corsOptions.replace(/['"`]/g, '');
}));
// this.app.use( "/", (req, res, next) => {
// res.setHeader('access-control-allow-origin', '*');
Expand Down

0 comments on commit e1796cf

Please sign in to comment.