Skip to content

Commit

Permalink
Removing duplicated instead word (#30442)
Browse files Browse the repository at this point in the history
Just removing the duplicated use of `instead` on `next.config.js/rewrites`  doc
  • Loading branch information
BruceRodrigues authored Oct 27, 2021
1 parent 02ba241 commit 8316b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-reference/next.config.js/rewrites.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Rewrites are applied to client-side routing, a `<Link href="/about">` will have
- `locale`: `false` or `undefined` - whether the locale should not be included when matching.
- `has` is an array of [has objects](#header-cookie-and-query-matching) with the `type`, `key` and `value` properties.

Rewrites are applied after checking the filesystem (pages and `/public` files) and before dynamic routes by default. This behavior can be changed by instead returning an object instead of an array from the `rewrites` function since `v10.1` of Next.js:
Rewrites are applied after checking the filesystem (pages and `/public` files) and before dynamic routes by default. This behavior can be changed by returning an object instead of an array from the `rewrites` function since `v10.1` of Next.js:

```js
module.exports = {
Expand Down

0 comments on commit 8316b8d

Please sign in to comment.