fix: include url queries in resolve

This commit is contained in:
2025-12-30 11:24:45 -05:00
parent 86b74a140a
commit 7857c327ea
@@ -52,7 +52,7 @@
const urlParams = new URLSearchParams(window.location.search); const urlParams = new URLSearchParams(window.location.search);
const returnUrl = urlParams.get('return'); const returnUrl = urlParams.get('return');
if (returnUrl) { if (returnUrl) {
goto(resolve('/login') + `?return=${encodeURIComponent(returnUrl)}`); goto(resolve(`/login?return=${encodeURIComponent(returnUrl)}`));
} else { } else {
goto(resolve('/login')); goto(resolve('/login'));
} }