From bad4d00eec36815508515879aa1ec49f7dd00f5d Mon Sep 17 00:00:00 2001 From: Salah Benmoussati <51402489+sbenmoussati@users.noreply.github.com> Date: Tue, 14 Mar 2023 09:21:22 +0100 Subject: [PATCH] SDA-4095 Setting the right context origin on fresh install (#1764) --- src/app/main-api-handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/main-api-handler.ts b/src/app/main-api-handler.ts index 6e547361..240635c9 100644 --- a/src/app/main-api-handler.ts +++ b/src/app/main-api-handler.ts @@ -420,6 +420,7 @@ ipcMain.on( ); const mainWebContents = windowHandler.getMainWebContents(); if (mainWebContents && !mainWebContents.isDestroyed()) { + windowHandler.setMainWindowOrigin(formattedPodUrl); mainWebContents.loadURL(formattedPodUrl); } }