Skip to content

Commit

Permalink
temporary allow all origin to app
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgehl3n committed Nov 18, 2023
1 parent b1d3c7d commit e75e5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Application {

private _setMiddlewares(): void {
this.express.use(cors({
origin: process.env.FRONTEND_URL,
origin: '*',
credentials: true,
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
optionsSuccessStatus: 200
Expand Down

0 comments on commit e75e5e6

Please sign in to comment.