-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
fix: respect basename in loaders and actions redirects #9418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: respect basename in loaders and actions redirects #9418
Conversation
|
|
Hi @manzano78, Welcome, and thank you for contributing to React Router! Before we consider your pull request, we ask that you sign our Contributor License Agreement (CLA). We require this only once. You may review the CLA and sign it by adding your name to contributors.yml. Once the CLA is signed, the If you have already signed the CLA and received this response in error, or if you have any questions, please contact us at [email protected]. Thanks! - The Remix team |
ce662a2 to
0c6860d
Compare
|
Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳 |
|
Thanks for the PR @manzano78! Do you want to try adding a unit test for this to the |
In view of this test file, I think it'd probably be better (for my brain and for the conservation of your strict testing conventions) if you add it 😄 I hope you don't mind! |
fdee293 to
9a78c3e
Compare
|
@brophdawg11 , FYI the bundles size test failed because |
9a78c3e to
92eef91
Compare
92eef91 to
9cf2cb0
Compare
|
👍 Thanks @manzano78, I'll merge this into a branch of mine and get the tests added there |
…#9447) * fix: respect basename in loaders and actions redirects (#9418) Co-authored-by: Mikaël ANZANO <[email protected]> * fix: support basename and relative routes in redirects * ci: add tests for data memory router * add changeset * Bump bundle threshold * convert invariant to 404 for missing routeId * Bundle bump Co-authored-by: Mikaël Anzano <[email protected]> Co-authored-by: Mikaël ANZANO <[email protected]>
Closes #9417