Manage redirects in Content Hub ONE and execute them with Netlify
This is a Next.js project bootstrapped with create-next-app
.
The primary notable code for this simple solution is:
- A new
postbuild
script inpackage.json
- The script file itself,
generate-redirects.mjs