mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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
|
type: list
|
||||||
default: ""
|
default: ""
|
||||||
list_type: compact
|
list_type: compact
|
||||||
|
requires_confirmation: "simple"
|
||||||
blocked_crawler_user_agents:
|
blocked_crawler_user_agents:
|
||||||
type: list
|
type: list
|
||||||
default: "mauibot|semrushbot|ahrefsbot|blexbot|seo spider"
|
default: "mauibot|semrushbot|ahrefsbot|blexbot|seo spider"
|
||||||
list_type: compact
|
list_type: compact
|
||||||
|
requires_confirmation: "simple"
|
||||||
slow_down_crawler_user_agents:
|
slow_down_crawler_user_agents:
|
||||||
type: list
|
type: list
|
||||||
default: "gptbot|claudebot|anthropic-ai|brightbot"
|
default: "gptbot|claudebot|anthropic-ai|brightbot"
|
||||||
list_type: compact
|
list_type: compact
|
||||||
|
requires_confirmation: "simple"
|
||||||
slow_down_crawler_rate: 60
|
slow_down_crawler_rate: 60
|
||||||
content_security_policy:
|
content_security_policy:
|
||||||
default: true
|
default: true
|
||||||
|
Loading…
Reference in New Issue
Block a user