⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix(web): use location.href for the sign-in redirect param
Andrej Acevski7483d37ea059
diff --git a/apps/web/src/routes/_layout/_authenticated.tsx b/apps/web/src/routes/_layout/_authenticated.tsxindex d49ff31f3..e7dd42f64 100644--- a/apps/web/src/routes/_layout/_authenticated.tsx+++ b/apps/web/src/routes/_layout/_authenticated.tsx@@ -20,7 +20,10 @@ export const Route = createFileRoute("/_layout/_authenticated")({throw redirect({to: "/auth/sign-in",search: {- redirect: location.pathname + location.search + location.hash,+ // location.href is pathname + search + hash without the origin.+ // location.search is a null-prototype parsed object, so string+ // concatenation on it throws "Cannot convert object to primitive value".+ redirect: location.href,},});}