fix websocket fix aham
This commit is contained in:
parent
8b361a2965
commit
c0ee7b3e0e
|
@ -216,6 +216,7 @@ class SocketServer {
|
|||
socket.destroy();
|
||||
return;
|
||||
}
|
||||
request.user = user;
|
||||
this.wss.handleUpgrade(request, socket, head, (ws) => {
|
||||
this.wss.emit('connection', ws, request);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user