Skip to content

Commit

Permalink
rollback origin
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgehl3n committed Nov 19, 2023
1 parent 440e815 commit 0416eb9
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!, process.env.APP_FRONTEND_URL || ""],
origin: process.env.FRONTEND_URL,
credentials: true,
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
optionsSuccessStatus: 200
Expand Down

0 comments on commit 0416eb9

Please sign in to comment.