fix: provide websocket url to ApplicationGroup (#602)

This commit is contained in:
Gorjan Petrovski
2021-07-15 12:06:32 +02:00
committed by GitHub
parent d4195f8204
commit f5ae75ef26

View File

@@ -29,6 +29,7 @@ export class ApplicationGroup extends SNApplicationGroup {
$timeout: ng.ITimeoutService, $timeout: ng.ITimeoutService,
private defaultSyncServerHost: string, private defaultSyncServerHost: string,
private bridge: Bridge, private bridge: Bridge,
private webSocketUrl: string
) { ) {
super(new WebDeviceInterface($timeout, bridge)); super(new WebDeviceInterface($timeout, bridge));
this.$compile = $compile; this.$compile = $compile;
@@ -63,6 +64,7 @@ export class ApplicationGroup extends SNApplicationGroup {
scope, scope,
this.defaultSyncServerHost, this.defaultSyncServerHost,
this.bridge, this.bridge,
this.webSocketUrl
); );
const appState = new AppState( const appState = new AppState(
this.$rootScope, this.$rootScope,