Skip to content

Commit

Permalink
docs: typo in rewrites page (#25377)
Browse files Browse the repository at this point in the history
  • Loading branch information
msidqi authored May 23, 2021
1 parent a348407 commit 2e5fac7
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 @@ -23,7 +23,7 @@ description: Add rewrites to your Next.js app.

Rewrites allow you to map an incoming request path to a different destination path.

Rewrites act as a URL proxy and mask the destination path, making it appear the user hasn't changed their location on the site. In contrast, [redirects](/docs/api-reference/next.config.js/redirects.md) will reroute to a new page a show the URL changes.
Rewrites act as a URL proxy and mask the destination path, making it appear the user hasn't changed their location on the site. In contrast, [redirects](/docs/api-reference/next.config.js/redirects.md) will reroute to a new page and show the URL changes.

To use rewrites you can use the `rewrites` key in `next.config.js`:

Expand Down

0 comments on commit 2e5fac7

Please sign in to comment.