fix redirect to homepage after auth and add static server for files #14
@@ -18,7 +18,7 @@ export default function AuthCallback() {
|
||||
|
||||
await checkAuth();
|
||||
|
||||
navigate("/", { replace: true });
|
||||
window.location.href = "/";
|
||||
} else {
|
||||
console.error("No token in URL");
|
||||
navigate("/login?error=no_token");
|
||||
|
||||
Reference in New Issue
Block a user