@ -229,7 +229,11 @@ setInterval(function(){
if (socket.connected) {
socket.emit('ping_message', { "type": "ping" });
}
}, 5000);
}, 10000);
socket.on('ping_message', (data) => {
console.log('ping received: ',data);
});
</script>