Explorar el Código

fix: websocket connection string

Jonas Gloning hace 3 años
padre
commit
82b8c713bc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) => {