mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-28 13:15:25 +00:00
fix: update WebSocketNodeSocket in protocol
This commit is contained in:
parent
22e7173fa9
commit
52acb50ed7
@ -17,7 +17,7 @@ export class Protocol extends PersistentProtocol {
|
||||
super(
|
||||
options.skipWebSocketFrames
|
||||
? new NodeSocket(socket)
|
||||
: new WebSocketNodeSocket(new NodeSocket(socket)),
|
||||
: new WebSocketNodeSocket(new NodeSocket(socket), false, null, false),
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user