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 0ce8f81 commit 5e2e3b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 : "http://127.0.0.1:5500",
origin : "https://reerajput930.github.io/Real-Time-Chat-Application/",
},
})

Expand Down Expand Up @@ -41,4 +41,4 @@ io.on('connection', socket => {
});


})
})

0 comments on commit 5e2e3b0

Please sign in to comment.