Browse Source

fix: websocket connection string

Jonas Gloning 3 năm trước cách đây
mục cha
commit
82b8c713bc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) => {