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
We do our best to reply to all the issues on time. If you will follow the given guidelines, the turn around time will be faster.
Delete the above section and the instructions in the sections below before submitting
5.5.7
14.18.1
Route.get('/test', async ({ response }) => { return response.status(404).redirect().toPath('/path') })
Response: Redirecting to /path
The text was updated successfully, but these errors were encountered:
Hey @kwissem1! 👋🏻
If you are not more describing your issue, we will keep closing it.
Redirecting somewhere should be a 301, 302, 307 or 308. It makes no sense to send back a 404 when redirecting.
301
302
307
308
404
Sorry, something went wrong.
No branches or pull requests
Prerequisites
We do our best to reply to all the issues on time. If you will follow the given guidelines, the turn around time will be faster.
Delete the above section and the instructions in the sections below before submitting
Package version
5.5.7
Node.js and npm version
14.18.1
Sample Code (to reproduce the issue)
Route.get('/test', async ({ response }) => { return response.status(404).redirect().toPath('/path') })
Response: Redirecting to /path
BONUS (a sample repo to reproduce the issue)
The text was updated successfully, but these errors were encountered: