Skip to content
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

Allow Redirect Type #709

Closed
brandanking-decently opened this issue Dec 8, 2023 · 1 comment · Fixed by #714
Closed

Allow Redirect Type #709

brandanking-decently opened this issue Dec 8, 2023 · 1 comment · Fixed by #714
Labels
bug Something isn't working

Comments

@brandanking-decently
Copy link

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

@amannn
Copy link
Owner

amannn commented Dec 11, 2023

Thanks for the report! This will be addressed in #714

@amannn amannn added bug Something isn't working and removed enhancement New feature or request unconfirmed Needs triage. labels Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants