Sfoglia il codice sorgente

Мелкая поправка

Book Pauk 5 anni fa
parent
commit
4972f085a3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      client/api/WebSocketConnection.js

+ 1 - 0
client/api/WebSocketConnection.js

@@ -58,6 +58,7 @@ class WebSocketConnection {
                 resolve(this.ws);
                 resolve(this.ws);
             } else {
             } else {
                 url = url || `ws://${window.location.host}/ws`;
                 url = url || `ws://${window.location.host}/ws`;
+                
                 this.ws = new WebSocket(url);
                 this.ws = new WebSocket(url);
 
 
                 if (this.timer) {
                 if (this.timer) {