From a70abcd64a551a16efc6cb0f20b4eca03db1b4d5 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Sun, 13 Oct 2019 16:13:38 +0300 Subject: [PATCH] next config export trailing slash enabled --- next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/next.config.js b/next.config.js index 643f8f91..a79adb6d 100644 --- a/next.config.js +++ b/next.config.js @@ -16,6 +16,7 @@ function createPath(page, map, query, items) { } module.exports = withCss(withSass({ + exportTrailingSlash: true, serverRuntimeConfig: { dbUri: '', // Will only be available on the server side