Skip to content

Commit

Permalink
set server port to a fixed value of 3001
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanthium7 committed Dec 28, 2024
1 parent 44f45be commit f39357a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ io.on("connection", (socket) => {
});
});

const PORT = process.env.PORT || 3001;
const PORT = 3001;
httpServer.listen(PORT, () => {
console.log(`Server listening on port ${PORT}`);
});

0 comments on commit f39357a

Please sign in to comment.