spa-to-http icon indicating copy to clipboard operation
spa-to-http copied to clipboard

_redirect Support

Open nhalstead opened this issue 1 year ago • 2 comments

Looking to see about support for the _redirect file that Netlify supports.

I think this would be a good feature that would allow for matched features without digging deep into configs or placing Nginx in front of this server to do redirects.

https://docs.netlify.com/routing/redirects/

https://docs.netlify.com/routing/redirects/redirect-options/

Key features of the redirect format:

  • HTTP Status Code
  • Splats (any * values from the captured input)
  • Placeholders
  • Query parameters
  • Cookie presence

nhalstead avatar Sep 18 '22 19:09 nhalstead