Unverified Commit 0d401ddc authored by TianenPang's avatar TianenPang Committed by GitHub

Fix typo in rewrites docs (#35639)

Correct the type of `trailingSlash` in config example

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

```diff
- trailingSlash: 'true',
+ trailingSlash: true,
```
parent 086cf91a
...@@ -327,7 +327,7 @@ If you're using `trailingSlash: true`, you also need to insert a trailing slash ...@@ -327,7 +327,7 @@ If you're using `trailingSlash: true`, you also need to insert a trailing slash
```js ```js
module.exports = { module.exports = {
trailingSlash: 'true', trailingSlash: true,
async rewrites() { async rewrites() {
return [ return [
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment