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 (#1765)
This commit is contained in:
committed by
GitHub
parent
7a0483a819
commit
2ba6160824
@@ -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