SDA-4095 Setting the right context origin on fresh install (#1765)

This commit is contained in:
Salah Benmoussati
2023-03-14 11:14:09 +01:00
committed by GitHub
parent 7a0483a819
commit 2ba6160824

View File

@@ -420,6 +420,7 @@ ipcMain.on(
);
const mainWebContents = windowHandler.getMainWebContents();
if (mainWebContents && !mainWebContents.isDestroyed()) {
windowHandler.setMainWindowOrigin(formattedPodUrl);
mainWebContents.loadURL(formattedPodUrl);
}
}