🔧(app-desk) trailingSlash options when build

Add trailingSlash options to next.config.js
to be able to reach directly a page without adding
".html" at the end.
This commit is contained in:
Anthony LC
2024-03-26 12:45:10 +01:00
committed by Anthony LC
parent ed24beb0f6
commit 5c10ed32d5
6 changed files with 14 additions and 13 deletions

View File

@@ -1,6 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
trailingSlash: true,
images: {
unoptimized: true,
},