diff --git a/next.config.js b/next.config.js index 7b1aaa64..34561c22 100644 --- a/next.config.js +++ b/next.config.js @@ -5,6 +5,17 @@ const nextConfig = { output: 'standalone', basePath: '/lecoffre', assetPrefix: '/lecoffre', + trailingSlash: true, + async redirects() { + return [ + { + source: '/lecoffre', + destination: '/lecoffre/', + permanent: false, + basePath: false, + }, + ]; + }, typescript: { ignoreBuildErrors: true, },