: adds data to the ping
This commit is contained in:
@@ -16,7 +16,7 @@ export function heartbeat(wss: WebSocketServer) {
|
||||
ws.send("keepalive");
|
||||
|
||||
ws.isAlive = false;
|
||||
ws.ping();
|
||||
ws.ping("keepalive");
|
||||
},
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user