Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
reerajput930 authored Jul 30, 2021
1 parent 0d36cc1 commit ccf1756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
const io = require('socket.io')(3000,{
// as cors is making connection error
cors:{
origin : "https://reerajput930.github.io/Real-Time-Chat-Application/",
origin : "http://127.0.0.1:5500",
},
})

Expand Down

0 comments on commit ccf1756

Please sign in to comment.