Skip to content

Commit 0d401dd

Browse files
authored
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, ```
1 parent 086cf91 commit 0d401dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-reference/next.config.js/rewrites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ If you're using `trailingSlash: true`, you also need to insert a trailing slash
327327

328328
```js
329329
module.exports = {
330-
trailingSlash: 'true',
330+
trailingSlash: true,
331331
async rewrites() {
332332
return [
333333
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy