From f5ae75ef26853a632bb12502d06bfce82d5a821c Mon Sep 17 00:00:00 2001 From: Gorjan Petrovski Date: Thu, 15 Jul 2021 12:06:32 +0200 Subject: [PATCH] fix: provide websocket url to ApplicationGroup (#602) --- app/assets/javascripts/ui_models/application_group.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/javascripts/ui_models/application_group.ts b/app/assets/javascripts/ui_models/application_group.ts index 0fd5252de..97bb016af 100644 --- a/app/assets/javascripts/ui_models/application_group.ts +++ b/app/assets/javascripts/ui_models/application_group.ts @@ -29,6 +29,7 @@ export class ApplicationGroup extends SNApplicationGroup { $timeout: ng.ITimeoutService, private defaultSyncServerHost: string, private bridge: Bridge, + private webSocketUrl: string ) { super(new WebDeviceInterface($timeout, bridge)); this.$compile = $compile; @@ -63,6 +64,7 @@ export class ApplicationGroup extends SNApplicationGroup { scope, this.defaultSyncServerHost, this.bridge, + this.webSocketUrl ); const appState = new AppState( this.$rootScope,