tap/config/initializers/remove_runtime_header.rb
2018-08-08 14:18:34 +02:00

3 lines
89 B
Ruby

if Rails.env.production?
Rails.application.config.middleware.delete(Rack::Runtime)
end