adonisjs / http-server

AdonisJS HTTP Server along with its Router
https://docs.adonisjs.com/guides/http
MIT License
109 stars 27 forks source link

Redirect with 4xx not working #48

Closed kwissem1 closed 2 years ago

kwissem1 commented 2 years ago

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)

response.status(404).redirect().toPath('/path')

BONUS (a sample repo to reproduce the issue)

Redirecting to /path

RomainLanz commented 2 years ago

Hey! 👋

Your issue do not follow our guidelines.

  1. Make sure that you are only reporting bugs or submitting feature requests on Github.
  2. In case of feature requests, please be descriptive and explain how this feature helps a broader audience and not just you.

If you are not submitting a bug and neither a feature request, then please use the Github Discussion

In any case, issues which are not descriptive enough will be closed. Please respect our time.