From f591aa1e4c4716a749d11bb894a5676410c38821 Mon Sep 17 00:00:00 2001 From: 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> Date: Wed, 22 May 2024 00:50:16 +0900 Subject: アドレス末尾にスラッシュ入れる仕様に変更 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.js | 3 +++ 1 file changed, 3 insertions(+) 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". -- cgit v1.2.3-54-g00ecf