Selaa lähdekoodia

fix: websocket connection string

Jonas Gloning 3 vuotta sitten
vanhempi
commit
82b8c713bc
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/socket.ts

+ 1 - 1
lib/socket.ts

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