chore: remove legacy workspace and restructure API + modular admin UI

This commit is contained in:
mberlin
2026-03-19 09:35:10 -03:00
parent 996c6e9241
commit b60fb432ff
94 changed files with 532 additions and 4086 deletions

View File

@@ -12,6 +12,11 @@ export function clearToken() {
localStorage.removeItem(TOKEN_KEY);
}
export function logout() {
clearToken();
window.location.href = "/login";
}
export function isLoggedIn() {
return Boolean(getToken());
}