From 270dfda5b474682b263ec65326852f62ec74710f Mon Sep 17 00:00:00 2001 From: Raymond Htet Date: Sat, 13 Jul 2024 14:22:56 +0800 Subject: [PATCH] disable trailingSlash --- next.config.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/next.config.js b/next.config.js index d9eaf75..a551532 100644 --- a/next.config.js +++ b/next.config.js @@ -3,12 +3,6 @@ module.exports = { output: 'export', distDir: 'dist', reactStrictMode: false, - trailingSlash: true, - exportPathMap: function () { - return { - '/': { page: '/' }, - '/dashboard': { page: '/dashboard' }, - } - }, + trailingSlash: false }