Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Luxshan2000 authored Oct 31, 2023
1 parent 76e073b commit ab1aaa1
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://18.61.20.118:3000", "http://18.61.20.118:3001","*","http://18.61.20.118"],
methods: ["POST", "GET"],
credentials: true,
})
Expand Down

0 comments on commit ab1aaa1

Please sign in to comment.