mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 10:17:56 +08:00
UX: Add confirmation to crawler settings (#31269)
Adds a site setting confirmation to the following settings, since they can be dangerous if changed incorrectly: * allowed_crawler_user_agents * blocked_crawler_user_agents * slow_down_crawler_user_agents
This commit is contained in:
parent
32704c42d0
commit
43e8172ebc
@ -2237,14 +2237,17 @@ security:
|
||||
type: list
|
||||
default: ""
|
||||
list_type: compact
|
||||
requires_confirmation: "simple"
|
||||
blocked_crawler_user_agents:
|
||||
type: list
|
||||
default: "mauibot|semrushbot|ahrefsbot|blexbot|seo spider"
|
||||
list_type: compact
|
||||
requires_confirmation: "simple"
|
||||
slow_down_crawler_user_agents:
|
||||
type: list
|
||||
default: "gptbot|claudebot|anthropic-ai|brightbot"
|
||||
list_type: compact
|
||||
requires_confirmation: "simple"
|
||||
slow_down_crawler_rate: 60
|
||||
content_security_policy:
|
||||
default: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user