Skip to content

Commit

Permalink
Fix typo in rewrites docs (#35639)
Browse files Browse the repository at this point in the history
Correct the type of `trailingSlash` in config example

Modified: `docs/api-reference/next.config.js/rewrites.md`

```diff
- trailingSlash: 'true',
+ trailingSlash: true,
```
  • Loading branch information
tianenpang committed Mar 27, 2022
1 parent 086cf91 commit 0d401dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-reference/next.config.js/rewrites.md
Expand Up @@ -327,7 +327,7 @@ If you're using `trailingSlash: true`, you also need to insert a trailing slash

```js
module.exports = {
trailingSlash: 'true',
trailingSlash: true,
async rewrites() {
return [
{
Expand Down

0 comments on commit 0d401dd

Please sign in to comment.