mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-4095 Setting the right context origin on fresh install (#1764)
This commit is contained in:
committed by
GitHub
parent
25728889d7
commit
bad4d00eec
@@ -420,6 +420,7 @@ ipcMain.on(
|
|||||||
);
|
);
|
||||||
const mainWebContents = windowHandler.getMainWebContents();
|
const mainWebContents = windowHandler.getMainWebContents();
|
||||||
if (mainWebContents && !mainWebContents.isDestroyed()) {
|
if (mainWebContents && !mainWebContents.isDestroyed()) {
|
||||||
|
windowHandler.setMainWindowOrigin(formattedPodUrl);
|
||||||
mainWebContents.loadURL(formattedPodUrl);
|
mainWebContents.loadURL(formattedPodUrl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user