diff --git a/client/src/app/core/services/websocket.service.ts b/client/src/app/core/services/websocket.service.ts index 94417a88e..624830e81 100644 --- a/client/src/app/core/services/websocket.service.ts +++ b/client/src/app/core/services/websocket.service.ts @@ -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);