fix: stop login redirect loop on clean route

This commit is contained in:
a.tolmachev
2026-04-01 21:31:32 +03:00
parent ab289165b5
commit b650941c06
+1 -1
View File
@@ -18,7 +18,7 @@
} }
function isLoginPage() { function isLoginPage() {
return /\/html\/login\.html$/.test(window.location.pathname); return /\/(?:html\/login\.html|login)\/?$/.test(window.location.pathname);
} }
function loginUrl() { function loginUrl() {