Skip to content

Commit

Permalink
SDA-4242: Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
NguyenTranHoangSym committed Aug 4, 2023
1 parent 992b971 commit 3287007
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 3287007

Please sign in to comment.