mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Update on the pinging to try and keep the client alive
This commit is contained in:
@@ -135,7 +135,7 @@ io.on('connection', function(socket){
|
||||
console.log("closing socket");
|
||||
});
|
||||
|
||||
socket.on('ping', function() {
|
||||
socket.on('pinging', function() {
|
||||
socket.emit("ok");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user