From f0832b07cbeda32051ec088dfb1bb16d3e5f5631 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Tue, 19 Jul 2022 00:50:44 +0700 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B8=D0=B2=D0=BD=D0=B5?= =?UTF-8?q?=D1=81=D0=B5=D0=BD=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=B1=D0=B0=D0=B3?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/core/WebSocketConnection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/WebSocketConnection.js b/server/core/WebSocketConnection.js index 12fa4f9e..636f2e4c 100644 --- a/server/core/WebSocketConnection.js +++ b/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); }