tap/config/initializers/remove_runtime_header.rb

4 lines
89 B
Ruby
Raw Normal View History

2018-08-08 14:18:34 +02:00
if Rails.env.production?
Rails.application.config.middleware.delete(Rack::Runtime)
end