Uh oh!
There was an error while loading. Please reload this page.
fix: dreamsync login redirects - #706
Conversation
📝 WalkthroughWalkthroughThe PR updates unauthorized error handling redirects across multiple client components and the API client. When a 401 error occurs, instead of redirecting to login-specific routes ("/api/login" or "/login"), users are now redirected to the root page ("/"). This change addresses the issue where login redirects were causing 404 errors. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Uh oh!
There was an error while loading. Please reload this page.
Description of change
makes the redirects go to root page instead of non existent login page
Issue Number
Closes#630
Type of change
How the change has been tested
n/a
Change checklist
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.