tab/config/initializers/remove_runtime_header.rb

4 lines
89 B
Ruby
Raw Normal View History

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