fix: correct default websocket port
This commit is contained in:
parent
8468d3ebd1
commit
452fd1b785
|
@ -225,6 +225,9 @@ export class Connection {
|
|||
url.protocol = 'ws';
|
||||
url.host = '';
|
||||
url.port = String(Number(url.port) + 1);
|
||||
if (url.port === '1') {
|
||||
url.port = '8900';
|
||||
}
|
||||
this._rpcWebSocket = new RpcWebSocketClient(
|
||||
urlFormat(url),
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue