Merge pull request #539 from jaison-x/pr2

fix: this.localProxy.proxy can be undefined
This commit is contained in:
Davidson Gomes 2024-04-17 12:08:54 -03:00 committed by GitHub
commit 575e7bf4c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -583,7 +583,7 @@ export class WAStartupService {
this.logger.verbose(`Proxy enabled: ${this.localProxy.enabled}`); this.logger.verbose(`Proxy enabled: ${this.localProxy.enabled}`);
this.localProxy.proxy = data?.proxy; this.localProxy.proxy = data?.proxy;
this.logger.verbose(`Proxy proxy: ${this.localProxy.proxy.host}`); this.logger.verbose(`Proxy proxy: ${this.localProxy.proxy?.host}`);
this.logger.verbose('Proxy loaded'); this.logger.verbose('Proxy loaded');
} }