This commit is contained in:
Jochen Saalfeld 2018-11-14 15:14:08 +01:00
parent 759ae91aa0
commit d70d9c4b09
No known key found for this signature in database
GPG Key ID: 8ACD4E8264B67DF4
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ export class WebsocketService {
}
// 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 += this.formatQueryParams(queryParams);