We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Allow the redirect type to be set in the redirect function, currently all urls are redirected with a replace which isn't always applicable
Allow redirect type the same way as the Next function allows https://nextjs.org/docs/app/api-reference/functions/redirect
Only alternative would be to use next redirect which could lead to chaining redirects
The text was updated successfully, but these errors were encountered:
type
redirect
Thanks for the report! This will be addressed in #714
Sorry, something went wrong.
fix: Fix types for passing a custom type to redirect (#714)
db65cb7
Fixes #709
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
Allow the redirect type to be set in the redirect function, currently all urls are redirected with a replace which isn't always applicable
Describe the solution you'd like
Allow redirect type the same way as the Next function allows https://nextjs.org/docs/app/api-reference/functions/redirect
Describe alternatives you've considered
Only alternative would be to use next redirect which could lead to chaining redirects
The text was updated successfully, but these errors were encountered: