Skip to content

Commit

Permalink
Merge pull request #1927 from NguyenTranHoangSym/SDA-4242_23.8
Browse files Browse the repository at this point in the history
SDA-4244_23.8: Reload will cause config went unavailable and redirect to Symphony Contact
  • Loading branch information
NguyenTranHoangSym committed Aug 4, 2023
2 parents 992b971 + 3287007 commit ad25ade
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/app/window-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2116,12 +2116,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,
});
}
}

Expand Down

0 comments on commit ad25ade

Please sign in to comment.