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

3 lines
140 B
Ruby

Rails.application.middleware.swap(Rack::Deflater, Rack::MiniProfiler)
Rails.application.middleware.swap(Rack::MiniProfiler, Rack::Deflater)