Add setting to control the referrer origin (#34731)

This commit is contained in:
Echo 2025-05-19 15:13:22 +02:00 committed by GitHub
parent 8ab2c4a9fc
commit dbf14784bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
63 changed files with 15 additions and 63 deletions

View file

@ -29,6 +29,7 @@ class Form::AdminSettings
trendable_by_default
show_domain_blocks
show_domain_blocks_rationale
allow_referrer_origin
noindex
require_invite_text
media_cache_retention_period
@ -50,6 +51,7 @@ class Form::AdminSettings
).freeze
BOOLEAN_KEYS = %i(
allow_referrer_origin
timeline_preview
activity_api_enabled
peers_api_enabled