admin: change path behaviour for the billionth time

URLs are made with app.ExternalURI (now included in window.pages), which
itself should include Base. Also fixed the subfolder being removed from
the url after login.
This commit is contained in:
Harvey Tindall
2025-05-27 15:40:08 +01:00
parent d8e624ad22
commit 42d1abe130
7 changed files with 32 additions and 13 deletions
+2
View File
@@ -15,6 +15,8 @@
<script>
window.pages = {
"Base": "{{ .pages.Base }}",
"TrueBase": "{{ .pages.TrueBase }}",
"ExternalURI": "{{ .pages.ExternalURI }}",
"Current": "{{ .pages.Current }}",
"Admin": "{{ .pages.Admin }}",
"MyAccount": "{{ .pages.MyAccount }}",