Explorar o código

Исправление привнесенного бага

Book Pauk %!s(int64=3) %!d(string=hai) anos
pai
achega
f0832b07cb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      server/core/WebSocketConnection.js

+ 1 - 1
server/core/WebSocketConnection.js

@@ -92,7 +92,7 @@ class WebSocketConnection {
                 if (isBrowser) {
                     const protocol = (window.location.protocol == 'https:' ? 'wss:' : 'ws:');
                     const url = this.url || `${protocol}//${window.location.host}/ws`;
-                    this.ws = new this.WebSocket(url, this.webSocketOptions);
+                    this.ws = new this.WebSocket(url);
                 } else {
                     this.ws = new this.WebSocket(this.url, this.webSocketOptions);
                 }