Add: #667 プレビューカード、参照のフェッチを行わないドメインの設定 (#690)

This commit is contained in:
KMY(雪あすか) 2024-04-03 12:37:18 +09:00 committed by GitHub
parent ff2860d0df
commit d89e1114bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 123 additions and 2 deletions

View file

@ -63,6 +63,8 @@ class Form::AdminSettings
emoji_reaction_disallow_domains
block_unfollow_account_mention
hold_remote_new_accounts
stop_fetch_activity_domains
stop_link_preview_domains
).freeze
INTEGER_KEYS = %i(
@ -120,6 +122,8 @@ class Form::AdminSettings
STRING_ARRAY_KEYS = %i(
emoji_reaction_disallow_domains
stop_fetch_activity_domains
stop_link_preview_domains
).freeze
attr_accessor(*KEYS)