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)
This commit is contained in:
JJ Kasper 2020-07-29 04:23:23 -05:00 committed by GitHub
parent fc2167311e
commit 571e2a7cff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.