Skip to content

Commit

Permalink
add frontend url
Browse files Browse the repository at this point in the history
  • Loading branch information
kamadi2000 committed Oct 31, 2023
1 parent 3f64428 commit 5a99571
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://18.61.20.118:3000", "http://18.61.20.118:3001","*","http://18.61.20.118", "https://drivesmart-w549.onrender.com"],
origin: ["http://18.61.20.118:3000", "http://18.61.20.118:3001","*","http://18.61.20.118", "https://drivesmart-w549.onrender.com","http://drivesmart.tracktechlk.com"],
methods: ["POST", "GET"],
credentials: true,
})
Expand Down

0 comments on commit 5a99571

Please sign in to comment.