This commit is contained in:
2026-02-27 23:27:50 +01:00
parent 6503aa4384
commit 2cdd4977ea

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 = `${import.meta.env.BASE_URL}login`; window.location.href = "/login";
return firstRes; return firstRes;
} }