X-Git-Url: https://git.auder.net/?p=qomet.git;a=blobdiff_plain;f=bin%2Fwww;h=39c858488bc1b39e00709f1bd58f24f07c7e5c84;hp=36f54dd12bcdd9b01ab105379caf0f7716a0b5c3;hb=26325ff0a1789ee176f74f070059668b66aa0ad1;hpb=fdf62750d329257baae55a86e746902f310a2386 diff --git a/bin/www b/bin/www index 36f54dd..39c8584 100755 --- a/bin/www +++ b/bin/www @@ -38,7 +38,7 @@ cron.schedule('0 0 0 * * *', function() { server.listen(port); server.on('error', onError); server.on('listening', onListening); -const io = require('socket.io').listen(server); +const io = require('socket.io')(server); /* * Sockets handling