From 4972f085a30b7635dc01b273a3b8428b4acd47df Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Wed, 22 Jan 2020 20:59:52 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B0=D1=8F=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/api/WebSocketConnection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/api/WebSocketConnection.js b/client/api/WebSocketConnection.js index e212311b..49babb65 100644 --- a/client/api/WebSocketConnection.js +++ b/client/api/WebSocketConnection.js @@ -58,6 +58,7 @@ class WebSocketConnection { resolve(this.ws); } else { url = url || `ws://${window.location.host}/ws`; + this.ws = new WebSocket(url); if (this.timer) {