Skip to content

Layer of 301 redirects before next.js routing using Now? #4056

Answered by AndrewBarba
minervabot asked this question in General
Discussion options

You must be logged in to vote

We recently migrated to the experimental config instead of specifying the redirects in now.json and it's working great. Gives us a lot more flexibility since it's javascript and can use environment variables, conditionals etc. at build time.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by styfle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants