aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docusaurus.config.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/docusaurus.config.js b/docusaurus.config.js
index b8684928..c339ace5 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -28,6 +28,9 @@ const config = {
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
+ //アドレス末尾に/を入れないとgoogle search consoleでsitemapの読み込み時に「リダイレクトがあるのでインデックス出来ない」と出てくる
+ trailingSlash: true,
+
// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".