Revert login checker to original url

This commit is contained in:
keannu125 2023-03-10 20:42:15 +08:00
parent 5d8610056b
commit e66bff306f

View file

@ -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 />;
}