Redirect to $baseUrl after auth with passkey instead of / (#482)

Fixes: #481
This commit is contained in:
s1shed
2025-07-01 15:40:33 +03:00
committed by GitHub
parent 867aa6e57b
commit b18cdb9188

View File

@ -155,7 +155,7 @@ async function loginWithPasskey() {
}
setTimeout(() => {
window.location.href = '/';
window.location.href = `${baseUrl}`;
}, 100);
} catch (error) {
console.error('Login error:', error);