This commit is contained in:
2023-05-05 14:34:32 +02:00
parent f751453a34
commit b99b077185
+1 -1
View File
@@ -34,7 +34,7 @@ wss.on('connection', function connection(ws: WebSocket & { isAlive: boolean }, r
ws.isAlive = true
}
}
ws.ping();
ws.send("ping");
})
const interval = setInterval(function ping() {