Chore/doc 150/remove vercel redirects
Currently we handle redirection in two ways.
- The vercel config
- Meta refresh pages generated during build time
This PR removes the redirects from the vercel config so that there is a single source of truth for our redirects and also introduces middleware for handling redirections at the edge.
Middlewares allow us to keep track of the page referrer by extracting the referer header from the http request and appending it to the destination url.
Test url: https://documentation-git-chore-doc-150remove-verc-960820-chainlinklabs.vercel.app/docs/chainlink-keepers/introduction
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| documentation | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 3, 2023 9:34pm |
@fmonper1 Builds are working again after generating a fresh package-lock.json file but the new linkchecker is throwing errors. I'll take a look later and see if I can figure out why.