fix #4010
This commit is contained in:
parent
759ae91aa0
commit
d70d9c4b09
@ -114,7 +114,7 @@ export class WebsocketService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create the websocket
|
// Create the websocket
|
||||||
let socketPath = location.protocol === 'https' ? 'wss://' : 'ws://';
|
let socketPath = location.protocol === 'https:' ? 'wss://' : 'ws://';
|
||||||
socketPath += window.location.hostname + ':' + window.location.port + '/ws/';
|
socketPath += window.location.hostname + ':' + window.location.port + '/ws/';
|
||||||
socketPath += this.formatQueryParams(queryParams);
|
socketPath += this.formatQueryParams(queryParams);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user