From 588b00c72d1780f629b109a73c6016040414104f Mon Sep 17 00:00:00 2001 From: Nekotora Date: Fri, 5 Jan 2024 20:00:37 +0800 Subject: [PATCH 1/2] Remove trailingSlash then fix it on nginx --- docusaurus.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 8a01677..44342b3 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -13,6 +13,7 @@ const config: Config = { // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: '/', + trailingSlash: false, // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. From 21ef5aeec4c4412c14463714586410fa99838554 Mon Sep 17 00:00:00 2001 From: Nekotora Date: Fri, 5 Jan 2024 20:08:12 +0800 Subject: [PATCH 2/2] Reenable trailing slash --- docusaurus.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 44342b3..10cb8a1 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -13,7 +13,7 @@ const config: Config = { // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: '/', - trailingSlash: false, + // trailingSlash: false, // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these.