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

_redirect Support #1

Open
nhalstead opened this issue Sep 18, 2022 · 2 comments
Open

_redirect Support #1

nhalstead opened this issue Sep 18, 2022 · 2 comments

Comments

@nhalstead
Copy link

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
@ivictbor
Copy link
Contributor

Thanks, added to our Roadmap!

@ivictbor
Copy link
Contributor

Probably this package could be reused https://github.com/tj/go-redirects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants