biolab / orange-web2

orange-web2.vercel.app
2 stars 3 forks source link

Use next redirects #9

Closed mitjapotocin closed 1 year ago

mitjapotocin commented 1 year ago

Next has a build in redirects handling https://nextjs.org/docs/api-reference/next.config.js/redirects Redirect returns 308, so this should be fine. Works on localhost, but we'll see when we deploy on GH-Pages.

And we have tests for old blogs redirects:

image