fix log
This commit is contained in:
@@ -24,7 +24,7 @@ export const fetchWithAuth = async (
|
||||
|
||||
if (responseText === SESSION_INVALIDATED) {
|
||||
localStorage.clear();
|
||||
window.location.href = `${import.meta.env.BASE_URL}login`;
|
||||
window.location.href = "/login";
|
||||
return firstRes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user