mastodon/config/initializers/rack-mini-profiler.rb

3 lines
140 B
Ruby
Raw Normal View History

2016-08-18 15:49:51 +02:00
Rails.application.middleware.swap(Rack::Deflater, Rack::MiniProfiler)
Rails.application.middleware.swap(Rack::MiniProfiler, Rack::Deflater)