This commit is contained in:
2026-02-27 22:40:35 +01:00
parent 488e38c3a8
commit 6503aa4384

View File

@@ -24,7 +24,7 @@ export const fetchWithAuth = async (
if (responseText === SESSION_INVALIDATED) { if (responseText === SESSION_INVALIDATED) {
localStorage.clear(); localStorage.clear();
window.location.href = "/login"; window.location.href = `${import.meta.env.BASE_URL}login`;
return firstRes; return firstRes;
} }