Skip to content

Commit d406058

Browse files
committed
unblock bing and apple bots.
1 parent 04bb083 commit d406058

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

block.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ func agentBlock(next http.HandlerFunc) http.HandlerFunc {
2020
"DotBot",
2121
"ClaudeBot",
2222
"GPTBot",
23-
"bingbot",
2423
"MJ12Bot",
2524
"PetalBot",
26-
"Applebot",
2725
} {
2826
if strings.Contains(ua, bua) {
2927
// log.Debug().Str("ua", ua).Msg("user-agent blocked")

render_robots.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,12 @@ Disallow: /
2323
User-agent: dotbot
2424
Disallow: /
2525
26-
User-agent: bingbot
27-
Disallow: /
28-
2926
User-agent: MJ12bot
3027
Disallow: /
3128
3229
User-agent: PetalBot
3330
Disallow: /
3431
35-
User-agent: Applebot
36-
Disallow: /
37-
3832
User-agent: *
3933
Allow: /
4034

0 commit comments

Comments
 (0)