Fix RPC
This commit is contained in:
@@ -215,7 +215,7 @@ class State extends EventEmitter<StateEventTypes> {
|
||||
|
||||
private _initRPC() {
|
||||
const rpc = this._rpc = new RPCClient(`${location.protocol === "https:" ? "wss:" : "ws:"}//${location.host}/rpc`, {
|
||||
protocols: null,
|
||||
protocols: [],
|
||||
bufferSendingMessages: false
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user