This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/config/initializers/2_whitelist_mode.rb

6 lines
126 B
Ruby
Raw Normal View History

2019-07-30 02:10:46 -07:00
# frozen_string_literal: true
Rails.application.configure do
config.x.whitelist_mode = ENV['WHITELIST_MODE'] == 'true'
end