Sfoglia il codice sorgente

fix: websocket connection string

Jonas Gloning 3 anni fa
parent
commit
82b8c713bc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) => {