mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-16 22:29:24 +08:00
Revert login checker to original url
This commit is contained in:
parent
5d8610056b
commit
e66bff306f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export default function LoginChecker() {
|
|||
if (!logged_in && !old_session_checked) {
|
||||
} else if (!logged_in && old_session_checked) {
|
||||
console.log("Not logged in. Redirecting to login page");
|
||||
return <Navigate to="Ivy/Login" replace />;
|
||||
return <Navigate to="/Login" replace />;
|
||||
}
|
||||
return <div />;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue