From 766e3b43d43dfeb8af3099f4e524f5f9370feb9d Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Thu, 19 Feb 2026 19:21:06 -0500 Subject: adapt output to lighttpd `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. --- next.config.js | 1 + 1 file changed, 1 insertion(+) 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, }; } -- cgit v1.2.3