mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2025-08-02 17:43:23 +08:00
Revert to browser router
This commit is contained in:
parent
8af4b9b3ac
commit
5d8610056b
3 changed files with 85 additions and 84 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="/Login" replace />;
|
||||
return <Navigate to="Ivy/Login" replace />;
|
||||
}
|
||||
return <div />;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue