From 237bd1f5652704a076008c2d534f124f613b3641 Mon Sep 17 00:00:00 2001 From: Steven Nance Date: Thu, 22 Sep 2022 09:47:53 -0700 Subject: [PATCH] fix: ensure generated output works on s3 (#84) ADRs are now generated to adr//index.html instead of adr/.html. See #45 for context. --- packages/web/next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web/next.config.js b/packages/web/next.config.js index a5dd2e9b..a15d7602 100644 --- a/packages/web/next.config.js +++ b/packages/web/next.config.js @@ -13,6 +13,7 @@ module.exports = withBundleAnalyzer({ reactStrictMode: true, target: "serverless", poweredByHeader: false, + trailingSlash: true, serverRuntimeConfig: { PROJECT_ROOT: __dirname, // https://github.com/vercel/next.js/issues/8251 VERSION: process.env.HIDE_LOG4BRAINS_VERSION ? "" : packageJson.version