Skip to content

Commit

Permalink
allow all origin until it fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Z4nR committed Sep 19, 2024
1 parent e3c4733 commit 1adb836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ console.log(origin);

app.use(
cors({
origin: [process.env.URL_LOCAL, process.env.URL_ONLINE],
origin: '*',
methods: ['GET', 'POST', 'DELETE'],
})
);
Expand Down

0 comments on commit 1adb836

Please sign in to comment.