mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-22 00:07:29 -06:00
[bug] respect X-Robots-Tag and robots.txt on api/v1/instance and nodeinfo (#3756)
* feat: check X-Robots-Tag when accessing /api/v1/instance or /nodeinfo endpoints respect X-Robots-Tag * chore: go fmt ./... * Check robots.txt as well, add tests --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com>
This commit is contained in:
parent
2c95fd4115
commit
d0de3ad492
20 changed files with 1404 additions and 24 deletions
2
vendor/github.com/temoto/robotstxt/codecov.yml
generated
vendored
Normal file
2
vendor/github.com/temoto/robotstxt/codecov.yml
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
codecov:
|
||||
token: 6bf9c7eb-69ff-4b74-8464-e2fb452d0f04
|
||||
Loading…
Add table
Add a link
Reference in a new issue