diff options
Diffstat (limited to 'config/initializers/2_whitelist_mode.rb')
-rw-r--r-- | config/initializers/2_whitelist_mode.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/initializers/2_whitelist_mode.rb b/config/initializers/2_whitelist_mode.rb new file mode 100644 index 000000000..a17ad07a2 --- /dev/null +++ b/config/initializers/2_whitelist_mode.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +Rails.application.configure do + config.x.whitelist_mode = ENV['WHITELIST_MODE'] == 'true' +end |