]> git.openstreetmap.org Git - rails.git/blob - config/initializers/better_errors.rb
Messages: avoid calling json.partial! in loop
[rails.git] / config / initializers / better_errors.rb
1 ENV.fetch("TRUSTED_IPS", "").split.each do |ip|
2   BetterErrors::Middleware.allow_ip! ip
3 end