diff --git a/apps/client/src/desktop.ts b/apps/client/src/desktop.ts index e77ba845b..b88eb8d4a 100644 --- a/apps/client/src/desktop.ts +++ b/apps/client/src/desktop.ts @@ -64,6 +64,9 @@ function initOnElectron() { if (options.get("nativeTitleBarVisible") !== "true") { initTitleBarButtons(style, currentWindow); } + + // Clear navigation history on frontend refresh. + currentWindow.webContents.navigationHistory.clear(); } function initTitleBarButtons(style: CSSStyleDeclaration, currentWindow: Electron.BrowserWindow) {