mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-23 18:49:21 +08:00
fixed port variable
This commit is contained in:
parent
e609fb29c3
commit
ddfc08adb1
2
index.js
2
index.js
@ -79,7 +79,7 @@ io.on('connection', function (socket) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
port = process.env.PORT || 3000
|
var port = process.env.PORT || 3000;
|
||||||
http.listen(port, function () {
|
http.listen(port, function () {
|
||||||
console.log("http://localhost:" + port);
|
console.log("http://localhost:" + port);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user