fix(backend): robots.txtで返却する内容の調整#17165
Merged
syuilo merged 5 commits intomisskey-dev:developfrom Apr 15, 2026
Merged
Conversation
Contributor
|
このPRによるapi.jsonの差分 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #17165 +/- ##
===========================================
- Coverage 63.65% 63.64% -0.02%
===========================================
Files 1161 1162 +1
Lines 116313 116524 +211
Branches 8407 8457 +50
===========================================
+ Hits 74042 74162 +120
- Misses 40063 40157 +94
+ Partials 2208 2205 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Backend memory usage comparisonBefore GC
After GC
After Request
|
Closed
1 task
|
対応ありがとうございます!こういう形で開発に貢献できるのはすごく嬉しいです |
|
/urlも除外すると良いみたいです。 BaiduのBotにDoSが如く/urlをクロールされた結果、URLプレビュー先のサーバーにご迷惑をおかけしてしまい、対応している最中にこのPRを見つけました(Baiduがrobots.txtを守ってくれるかどうかは別なので、他の方法でも対応中ですが……)。 |
Contributor
Author
|
コンフリクト解消 |
Member
|
🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
ugcVisibilityForVisitorがnoneの場合は除外するルートを追加するようにX-Robots-Tagや meta robots タグ)でカバーされているWhy
#17143 で述べられている懸念事項は概ねこれで解決できる可能性がある
Additional info (optional)
Checklist