diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2026-02-19 19:21:06 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2026-02-20 15:13:00 -0500 |
| commit | 766e3b43d43dfeb8af3099f4e524f5f9370feb9d (patch) | |
| tree | 6a016db1a700f24142b8d83ec26ac992e7ba2b1b | |
| parent | 49d9f6a1d6335e088a8a910fcdf4f70f424fb427 (diff) | |
`trailingSlash:true` tells nextjs to generate each page as a folder
containing `index.html` file and to append a trailing slash to the href
of generated links.
| -rw-r--r-- | next.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js index 05e4425..50b5b08 100644 --- a/next.config.js +++ b/next.config.js @@ -24,5 +24,6 @@ module.exports = () => { }, output: 'export', distDir: exportDir, + trailingSlash: true, }; } |
