-
Notifications
You must be signed in to change notification settings - Fork 507
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
feat(routeRules): allow wildcard redirects #1976
Conversation
Ahh the presets, yes! Forgot about them as we don't use any of those. I'll see if I can add this, but that will probably take a while. |
Good point regarding platform support. It is not necessary however we can iterate and support it later in the future as mainly nitro server should be able to (universally) catch any platform-unsupported patteren. |
@pi0 I agree. Happy to add it later and let nitro handle it for now ππ» |
This comment was marked as off-topic.
This comment was marked as off-topic.
I've added examples to the documentation, added tests and implemented Netlify and Vercel as these tests failed! |
β Live Preview ready!
|
Thanks for quality changes β€οΈ |
π Linked issue
#1748
β Type of change
π Description
This PR adds support for wildcard redirects in routeRules:
It also keeps query parameters, just like the proxy does.
Resolves #1748.
π Checklist