summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorLibravatar alemi.dev <notify@alemi.dev>2025-02-11 13:16:14 +0100
committerLibravatar GitHub <noreply@github.com>2025-02-11 13:16:14 +0100
commitd0de3ad49260ad2f87d02ce1307b1f20e88a1fdf (patch)
treea4eab190784a8d456226788404a71f263ecbdc49 /go.mod
parent[bugfix] Suggest lowercase username when creating via OIDC (#3780) (diff)
downloadgotosocial-d0de3ad49260ad2f87d02ce1307b1f20e88a1fdf.tar.xz
[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>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index 59c924a09..b7d816a63 100644
--- a/go.mod
+++ b/go.mod
@@ -60,6 +60,7 @@ require (
github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8
github.com/tdewolff/minify/v2 v2.21.3
github.com/technologize/otel-go-contrib v1.1.1
+ github.com/temoto/robotstxt v1.1.2
github.com/tetratelabs/wazero v1.8.2
github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80
github.com/ulule/limiter/v3 v3.11.2