docker fixes

This commit is contained in:
Ivan Rezchikov
2026-07-17 13:13:42 +03:00
parent 6cdd095b4a
commit 1b2629b5eb
5 changed files with 50 additions and 22 deletions
+5 -1
View File
@@ -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]);