Skip to content

Commit

Permalink
SDA-4095 Setting the right context origin on fresh install (#1764)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbenmoussati committed Mar 14, 2023
1 parent 2572888 commit bad4d00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/main-api-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ ipcMain.on(
);
const mainWebContents = windowHandler.getMainWebContents();
if (mainWebContents && !mainWebContents.isDestroyed()) {
windowHandler.setMainWindowOrigin(formattedPodUrl);
mainWebContents.loadURL(formattedPodUrl);
}
}
Expand Down

0 comments on commit bad4d00

Please sign in to comment.