docker fixes
This commit is contained in:
@@ -35,7 +35,11 @@ export default function LoginPage() {
|
||||
|
||||
useEffect(() => {
|
||||
if (redirectTo) {
|
||||
router.push(redirectTo);
|
||||
if (redirectTo.startsWith("http")) {
|
||||
window.location.href = redirectTo;
|
||||
} else {
|
||||
router.push(redirectTo);
|
||||
}
|
||||
}
|
||||
}, [redirectTo, router]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user