fix: provide websocket url to ApplicationGroup (#602)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user