userpage: fix login saving, url rewriting on subpath

Fixes #437.
This commit is contained in:
Harvey Tindall
2025-11-27 18:10:28 +00:00
parent ab5a82858e
commit 1296992752
2 changed files with 4 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ interface userWindow extends GlobalWindow {
declare var window: userWindow;
// const basePath = window.location.pathname.replace("/password/reset", "");
const basePath = window.pages.MyAccount;
const basePath = window.pages.Base + window.pages.MyAccount;
const theme = new ThemeManager(document.getElementById("button-theme"));