about summary refs log tree commit diff
path: root/config/initializers/2_whitelist_mode.rb
blob: 1cc6a8e724719c1be0cc83a3f31d0ee3f3531e73 (plain) (blame)
1
2
3
4
5
# frozen_string_literal: true

Rails.application.configure do
  config.x.whitelist_mode = (ENV['LIMITED_FEDERATION_MODE'] || ENV['WHITELIST_MODE']) == 'true'
end