unblock bing and apple bots.

This commit is contained in:
fiatjaf
2025-01-27 22:15:44 -03:00
parent 04bb08379a
commit d406058d8c
2 changed files with 0 additions and 8 deletions

View File

@@ -20,10 +20,8 @@ func agentBlock(next http.HandlerFunc) http.HandlerFunc {
"DotBot",
"ClaudeBot",
"GPTBot",
"bingbot",
"MJ12Bot",
"PetalBot",
"Applebot",
} {
if strings.Contains(ua, bua) {
// log.Debug().Str("ua", ua).Msg("user-agent blocked")