Skip to content

Commit

Permalink
origin updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Luxshan2000 committed Oct 27, 2023
1 parent 36e0543 commit 47ebef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const PORT = process.env.PORT || 5000;

app.use(
cors({
origin: ["http://localhost:3000", "http://localhost:3001"],
origin: ["http://localhost:3000", "http://localhost:3001","*"],
methods: ["POST", "GET"],
credentials: true,
})
Expand Down

0 comments on commit 47ebef0

Please sign in to comment.