Commit f280926
committed
fix(ui): catch-all route → Navigate to / (fixes post-login 404 on stale /auth URLs)
Legacy AuthProvider.signOut used to rewrite the URL to /auth?next=...
Any browser that still has that URL cached hit the react-router default
error boundary once AuthGate let RouterProvider render, since /auth is
no longer a route. The catch-all sends any unknown path back to /.1 parent 442f588 commit f280926
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments