Merge pull request #4011 from jsaalfeld/fix_wss_connection

fix #4010
This commit is contained in:
Sean 2018-11-14 06:30:20 -08:00 committed by GitHub
commit 734c7c872b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);