mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user