mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-08 17:08:04 +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(() => {
|
setTimeout(() => {
|
||||||
window.location.href = '/';
|
window.location.href = `${baseUrl}`;
|
||||||
}, 100);
|
}, 100);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Login error:', error);
|
console.error('Login error:', error);
|
||||||
|
Reference in New Issue
Block a user