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