From c31ca398002d9d1b3157123c8852c654dc65fadc Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 20 Jul 2023 06:04:36 +0000 Subject: [PATCH] feat: add custom robots.txt to reject crawlers (close #38) --- README.md | 1 + custom/assets/robots.txt | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 custom/assets/robots.txt diff --git a/README.md b/README.md index b614d77a..7ec01a1e 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ ## 細かい変更点 +- クローラーを拒否する [robots.txt](./custom/assets/robots.txt) の追加 - 投稿プレビューをデフォルトでオンにする設定を追加 - 猫耳の角を少し丸くする(Misskey から取り込み) - そのほうがかわいいため diff --git a/custom/assets/robots.txt b/custom/assets/robots.txt new file mode 100644 index 00000000..1f53798b --- /dev/null +++ b/custom/assets/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /