From 5f7fd1e6ff0bdd80027cf7b71f5899e3155c5dcb Mon Sep 17 00:00:00 2001 From: Oleksandr Hrab Date: Wed, 26 Feb 2025 17:35:57 +0200 Subject: [PATCH] fix: url rewrites --- next.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index 6605ae34..abd6e765 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -7,7 +7,6 @@ const config = { reactStrictMode: true, output: 'standalone', basePath: '/documentation', - trailingSlash: true, serverExternalPackages: ['oxc-transform'], eslint: { ignoreDuringBuilds: true, @@ -28,7 +27,8 @@ const config = { { source: '/documentation', destination: '/documentation/', - }, + basePath: false + } ]; }, };