Fix custom domain prefix + cookie

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-15 18:20:48 +04:00
committed by Bryan Frimin
parent 334ca2c932
commit c5cd225d95
5 changed files with 7 additions and 7 deletions

View File

@@ -63,7 +63,8 @@ export default function VerifyMagicLinkPagePageMutation() {
description: __("Your have successfully signed in"),
variant: "success",
});
window.location.href = getPathPrefix();
const pathPrefix = getPathPrefix();
window.location.href = pathPrefix ? getPathPrefix() : "/";
},
onError: (err) => {
toast({