diff --git a/public/webauthn.ts b/public/webauthn.ts index 13b7ed0..df942a5 100644 --- a/public/webauthn.ts +++ b/public/webauthn.ts @@ -155,7 +155,7 @@ async function loginWithPasskey() { } setTimeout(() => { - window.location.href = '/'; + window.location.href = `${baseUrl}`; }, 100); } catch (error) { console.error('Login error:', error);