fix: preserve skill deep link through login flow

This commit is contained in:
light committed 2026-11-07 11:24:34 +08:00
1 parent 1d31de4796
commit bbe241348e
2 files changed
+27 -2

No files matched your search

+5
View File
@@ -1376,6 +1376,11 @@
window.location.href = dest;
return;
}
try {
sessionStorage.setItem("post_login_redirect", dest);
} catch (error) {
console.warn("sessionStorage unavailable", error);
}
const params = new URLSearchParams({ v: "20261107", redirect: dest });
window.location.href = "/login/?" + params.toString();
}