From d70d9c4b09f3773cab8318534458fb8b44d3b5a8 Mon Sep 17 00:00:00 2001 From: Jochen Saalfeld Date: Wed, 14 Nov 2018 15:14:08 +0100 Subject: [PATCH] fix #4010 --- client/src/app/core/services/websocket.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);