This commit is contained in:
2026-04-09 23:47:15 +02:00
parent 689febdbf4
commit adafb8eb11
2 changed files with 27 additions and 9 deletions

View File

@@ -484,9 +484,7 @@ const Router = (routesDefinition) => {
}
Router.params = $({})
Router.to = (targetPath) => {
window.location.hash = targetPath.replace(/^#?\/?/, "#/")
}
Router.to = (targetPath) => window.location.hash = targetPath.replace(/^#?\/?/, "#/")
Router.back = () => window.history.back()
// --- MOUNT APPLICATION ---