reverted tto the default port number

This commit is contained in:
Taichi Kato 2020-05-30 18:33:41 +08:00
parent 27876b32ae
commit 88444d86c0

View File

@ -145,7 +145,7 @@ io.on("connection", function (socket) {
});
// Listen for Heroku port, otherwise just use 3000
var port = process.env.PORT || 443;
var port = process.env.PORT || 3000;
http.listen(port, function () {
console.log("http://localhost:" + port);
});