Update on the pinging to try and keep the client alive

This commit is contained in:
Kasper Rynning-Tønnesen
2017-05-20 19:23:17 +02:00
parent d86cb764ab
commit 2caa7b1487

View File

@@ -135,7 +135,7 @@ io.on('connection', function(socket){
console.log("closing socket");
});
socket.on('ping', function() {
socket.on('pinging', function() {
socket.emit("ok");
});