SDA-4242: Update config

This commit is contained in:
NguyenTranHoangSym 2023-08-03 15:20:05 +07:00
parent a0a37b0e55
commit 13b2684a87

View File

@ -2124,12 +2124,9 @@ export class WindowHandler {
`window-utils: user hasn't logged in yet, loading login page again`,
);
const userAgent = this.getUserAgent(this.mainWebContents);
await this.mainWebContents.loadURL(
this.userConfig.url || this.globalConfig.url,
{
userAgent,
},
);
await this.mainWebContents.loadURL(this.url || this.globalConfig.url, {
userAgent,
});
}
}