fixed port variable

This commit is contained in:
Ian Ramzy 2020-03-23 20:57:57 -04:00
parent e609fb29c3
commit ddfc08adb1

View File

@ -79,7 +79,7 @@ io.on('connection', function (socket) {
});
port = process.env.PORT || 3000
var port = process.env.PORT || 3000;
http.listen(port, function () {
console.log("http://localhost:" + port);
});