~cytrogen/masto-fe

ref: 84d520ee80110f09ded76aad927fe80777d5e43b masto-fe/config/initializers/blacklists.rb -rw-r--r-- 282 bytes
84d520ee — Matt Jankowski Extract private methods in `StatusCacheHydrator` (#26177) 2 years ago
                                                                                
1
2
3
4
5
6
# frozen_string_literal: true

Rails.application.configure do
  config.x.email_domains_blacklist = (ENV['EMAIL_DOMAIN_DENYLIST']  || ENV['EMAIL_DOMAIN_BLACKLIST']) || ''
  config.x.email_domains_whitelist = (ENV['EMAIL_DOMAIN_ALLOWLIST'] || ENV['EMAIL_DOMAIN_WHITELIST']) || ''
end