feat: add clean public routes for alpine ui

This commit is contained in:
a.tolmachev
2026-03-31 22:07:12 +03:00
parent 9cee29d110
commit f5a658b4f0
17 changed files with 198 additions and 115 deletions
+2 -2
View File
@@ -22,11 +22,11 @@
}
function loginUrl() {
return (window.APP_BASE || '') + 'html/login.html';
return (window.CrankRoutes && window.CrankRoutes.login) || '/login';
}
function homeUrl() {
return (window.APP_BASE || '') + 'index.html';
return (window.CrankRoutes && window.CrankRoutes.home) || '/';
}
function clearUserMirror() {