You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Routes are nested by default, but navigation constants used absolute
paths like '/login', causing navigate() and <Navigate> to go to /login
instead of /authn/login.
Replace path constants in navigation calls with getUrlByRouteRole()
where possible, which resolves the URL for a given route role from the
route config. Path constants are still generally useful, but are now all
relative (and camelCase).
Centralize route roles, path segments, and the dashboard role in
src/constants.ts.
Last but not least, prefer SPA navigation (<Navigate>, useNavigate) over
window.location.href where the target URL may be internal.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments