Fix RPC
This commit is contained in:
1 parent
f4c2369057
commit
32f3c0a278
2 files changed
+78
-3
No files matched your search
@@ -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