feat(routing): switch from hash routing to HTML5 History API

Remove all window.location.hash assignments and hashchange events.
Navigate with history.pushState; listen on popstate. Fix base href to
'/' so assets resolve correctly on deep paths. Update magic link URL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
VPS 4 Builder
2026-05-14 04:44:53 +02:00
parent 435176c0c3
commit 2f3c0420e3
7 changed files with 20 additions and 35 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ export const HybridBackend = {
localStorage.removeItem('SCOREODONTO_USER_DATA');
localStorage.removeItem('SCOREODONTO_WORKSPACES');
localStorage.removeItem('SCOREODONTO_ACTIVE_WORKSPACE');
window.location.hash = '/';
window.location.href = '/';
window.location.reload();
},