bastodon/config/initializers/2_whitelist_mode.rb
2019-07-30 11:10:46 +02:00

5 lines
126 B
Ruby

# frozen_string_literal: true
Rails.application.configure do
config.x.whitelist_mode = ENV['WHITELIST_MODE'] == 'true'
end