Procházet zdrojové kódy

fix: websocket connection string

Jonas Gloning před 3 roky
rodič
revize
82b8c713bc
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lib/socket.ts

+ 1 - 1
lib/socket.ts

@@ -39,7 +39,7 @@ export class Socket extends EventEmitter {
 			return;
 			return;
 		}
 		}
 
 
-		this._socket = new WebSocket(wsUrl + "?version=" + version);
+		this._socket = new WebSocket(wsUrl + "&version=" + version);
 		this._disconnected = false;
 		this._disconnected = false;
 
 
 		this._socket.onmessage = (event) => {
 		this._socket.onmessage = (event) => {