tab/config/initializers/remove_runtime_header.rb
Rien Maertens 43580c3545
Security++
2018-08-08 14:22:00 +02:00

3 lines
89 B
Ruby

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