Skip to content

Commit

Permalink
resolving cors origin error
Browse files Browse the repository at this point in the history
  • Loading branch information
sd1p authored Jul 4, 2023
1 parent fb841f3 commit 29858cd
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 @@ -45,7 +45,7 @@ const server = app.listen(PORT, console.log(`Server Started on port ${PORT}`));
const io = require("socket.io")(server, {
pingTimeout: 60000,
cors: {
origin: "https://dash-chat-five.vercel.app/",
origin: "https://dash-chat-five.vercel.app",
},
});

Expand Down

0 comments on commit 29858cd

Please sign in to comment.