Skip to content

Commit

Permalink
Web Browser App: Fix for Proxy checkbox
Browse files Browse the repository at this point in the history
Signed-off-by: Leonty Chudinov <lchudinov@rocketsoftware.com>
  • Loading branch information
Leonty Chudinov committed Mar 26, 2020
1 parent f183694 commit aa09dc9
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -24,7 +24,7 @@ export interface ProxyServerResult {
export class ProxyService {
readonly proxyServiceURL: string;
private enabled = false;
proxyState = new BehaviorSubject<boolean>(this.enabled);
proxyState: BehaviorSubject<boolean>;
currentProxyPort: number | undefined;

constructor(
Expand All @@ -39,6 +39,7 @@ export class ProxyService {
if (isLaunchMetadata(launchMetadata) && launchMetadata.data.enableProxy) {
this.enabled = true;
}
this.proxyState = new BehaviorSubject<boolean>(this.enabled);
}

private create(urlString: string): Observable<ProxyServerResult> {
Expand Down

0 comments on commit aa09dc9

Please sign in to comment.