diff options
author | 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> | 2024-05-22 00:50:16 +0900 |
---|---|---|
committer | 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> | 2024-05-22 00:50:16 +0900 |
commit | f591aa1e4c4716a749d11bb894a5676410c38821 (patch) | |
tree | 9af4a32768c843a371efee0fdf28733b5ed557c1 /docusaurus.config.js | |
parent | 36943e96cf9f03fd50e72ffeb6a780035a9dedf1 (diff) |
アドレス末尾にスラッシュ入れる仕様に変更
Diffstat (limited to 'docusaurus.config.js')
-rw-r--r-- | docusaurus.config.js | 3 |
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". |