Мелкая поправка
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user