diff options
| author | 2025-02-05 12:47:13 +0100 | |
|---|---|---|
| committer | 2025-02-05 12:47:13 +0100 | |
| commit | baed591a1d19942ec553baed41a8048ab9dd18ca (patch) | |
| tree | b8c91d4f193ab2a80e71f222fb1bda4bb775805b /internal/web/profile.go | |
| parent | [bugfix] wrong nodeinfo version (tobi is a boob) (#3735) (diff) | |
| download | gotosocial-baed591a1d19942ec553baed41a8048ab9dd18ca.tar.xz | |
[feature] Use `X-Robots-Tag` headers to instruct scrapers/crawlers (#3737)
* [feature] Use `X-Robots-Tag` headers to instruct scrapers/crawlers
* use switch for RobotsHeaders
Diffstat (limited to 'internal/web/profile.go')
| -rw-r--r-- | internal/web/profile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/web/profile.go b/internal/web/profile.go index a6d96a9ea..cf12ca33a 100644 --- a/internal/web/profile.go +++ b/internal/web/profile.go @@ -103,7 +103,7 @@ func (m *Module) profileGETHandler(c *gin.Context) { // index if account is discoverable. var robotsMeta string if targetAccount.Discoverable { - robotsMeta = robotsMetaAllowSome + robotsMeta = apiutil.RobotsDirectivesAllowSome } // We need to change our response slightly if the |
