mirror of
https://github.com/demostf/sync.git
synced 2026-06-03 10:34:06 +02:00
kill aliases
This commit is contained in:
parent
16ad3436a9
commit
013a544250
1 changed files with 3 additions and 2 deletions
5
sync.js
5
sync.js
|
|
@ -7,8 +7,9 @@ var server = http_1.createServer(function (request, response) {
|
|||
response.writeHead(404);
|
||||
response.end();
|
||||
});
|
||||
server.listen(8181, function () {
|
||||
console.log((new Date()) + ' Server is listening on port 8080');
|
||||
var port = process.env.PORT || 80;
|
||||
server.listen(port, function () {
|
||||
console.log((new Date()) + " Server is listening on port " + port);
|
||||
});
|
||||
var wsServer = new websocket_1.server({
|
||||
httpServer: server,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue