mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-06 16:14:49 +02:00
Redirect to $baseUrl after auth with passkey instead of / (#482)
Fixes: #481
This commit is contained in:
@ -155,7 +155,7 @@ async function loginWithPasskey() {
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
window.location.href = '/';
|
||||
window.location.href = `${baseUrl}`;
|
||||
}, 100);
|
||||
} catch (error) {
|
||||
console.error('Login error:', error);
|
||||
|
Reference in New Issue
Block a user