Unverified Commit 571e2a7c authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Add note about statusCode config for redirects (#15615)

This adds a note to our documentation about the `statusCode` config to match the note from the redirects documentation for [`vercel.json`](https://vercel.com/docs/configuration#project/redirects)
parent fc216731
...@@ -92,3 +92,5 @@ module.exports = { ...@@ -92,3 +92,5 @@ module.exports = {
}, },
} }
``` ```
In some rare cases, you might need to assign a custom status code for older HTTP Clients to properly redirect. In these cases, you can use the `statusCode` property instead of the `permanent` property, but not both. Note: to ensure IE11 compatibility a `Refresh` header is automatically added for the 308 status code.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment