rsnext/docs/api-reference/next.config.js
Alex Vilchis 2425f4703c
(docs) Add permanent property in redirect object (#28852)
I found that an example for a redirect rule in the documentation doesn't have the required property `permanent`. I noticed this because I tried to use that same rule but building fails with the following message:

```
`permanent` is not set to `true` or `false` for route {"source":"/:path((?!another-page$).*)","has":[{"type":"host","value":"example.com"}],"destination":"/another-page"}


Error: Invalid redirect found
```

My PR simply adds the missing `permanent` property as false to be consistent with the rest.

## Documentation / Examples

- [x] Make sure the linting passes
2021-09-06 23:20:15 +00:00
..
basepath.md Clarify rewrites and other docs cleanup. (#24890) 2021-05-07 13:09:15 +00:00
cdn-support-with-asset-prefix.md Improve documentation of CDN asset paths (#25531) 2021-05-27 23:23:12 +00:00
compression.md Remove outdated documentation (#20714) 2021-01-04 10:45:57 +01:00
configuring-onDemandEntries.md [docs] Added related links to next.config.js (#10174) 2020-01-20 21:40:20 +01:00
configuring-the-build-id.md [docs] Added related links to next.config.js (#10174) 2020-01-20 21:40:20 +01:00
custom-page-extensions.md Add docs for using pageExtensions to colocate other files with page components (#22740) 2021-08-27 22:58:56 +00:00
custom-webpack-config.md Remove snippet that is not recommended. (#25220) 2021-05-19 11:56:53 +02:00
disabling-etag-generation.md [docs] Added related links to next.config.js (#10174) 2020-01-20 21:40:20 +01:00
disabling-http-keep-alive.md Add next.config.js option to override default keepAlive (#27709) 2021-08-03 00:38:42 +00:00
disabling-x-powered-by.md x-powered-by is added to response, not request (#13037) 2020-05-18 12:58:29 -04:00
environment-variables.md Remove reference to now env example (#17341) 2020-09-24 18:30:39 +00:00
exportPathMap.md Small grammar fixes (#28590) 2021-08-28 21:56:32 +00:00
headers.md Fix incorrect example in headers and rewrites docs (#27652) 2021-07-31 21:53:47 +00:00
ignoring-eslint.md [ESLint] Documentation updates + bug fixes (#26331) 2021-08-05 00:58:06 +00:00
ignoring-typescript-errors.md Strip out dead code for ignoreDevErrors (#12941) 2020-05-15 13:30:01 -04:00
introduction.md Add jsdoc types to docs snippets (#27125) 2021-07-12 20:57:38 +00:00
react-strict-mode.md Improve React Strict Mode documentation. (#28139) 2021-08-15 17:44:00 +00:00
redirects.md (docs) Add permanent property in redirect object (#28852) 2021-09-06 23:20:15 +00:00
rewrites.md Fix incorrect example in headers and rewrites docs (#27652) 2021-07-31 21:53:47 +00:00
runtime-configuration.md Update docs to use <Image> instead of <img> (#19160) 2020-11-13 23:43:05 +00:00
setting-a-custom-build-directory.md [docs] Added related links to next.config.js (#10174) 2020-01-20 21:40:20 +01:00
static-optimization-indicator.md Bring back indicator documentation with a note that the feature has been removed 2021-01-05 12:47:52 +01:00
trailing-slash.md Clarify rewrites and other docs cleanup. (#24890) 2021-05-07 13:09:15 +00:00