fix(next): enforce trailingSlash and redirect /lecoffre -> /lecoffre/; asset path stability
Some checks failed
build-and-push-ext / build_push (push) Has been cancelled

This commit is contained in:
Debian Dev4 2025-09-24 16:27:59 +00:00
parent bf0a23c117
commit b3f1184b3b

View File

@ -5,6 +5,17 @@ const nextConfig = {
output: 'standalone', output: 'standalone',
basePath: '/lecoffre', basePath: '/lecoffre',
assetPrefix: '/lecoffre', assetPrefix: '/lecoffre',
trailingSlash: true,
async redirects() {
return [
{
source: '/lecoffre',
destination: '/lecoffre/',
permanent: false,
basePath: false,
},
];
},
typescript: { typescript: {
ignoreBuildErrors: true, ignoreBuildErrors: true,
}, },