Skip to content

Commit

Permalink
pushing for heroku configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
demir10x committed Jul 14, 2023
1 parent 356646c commit 8b46088
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ io.on('connection', (socket) => {
});

// Comment the below 2 lines if you are pushing for Heroku
io.listen(3000);
console.log(`Signaling Sever Started at Port 3000`);
// io.listen(3000);
// console.log(`Signaling Sever Started at Port 3000`);

//Uncomment below lines if you are pushing for Heroku
// io.listen(process.env.PORT || 5000);
// console.log(`Signaling Sever Started at Port ${process.env.PORT || 5000}`);
io.listen(process.env.PORT || 5000);
console.log(`Signaling Sever Started at Port ${process.env.PORT || 5000}`);

0 comments on commit 8b46088

Please sign in to comment.