mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 12:11:40 +01:00
4 lines
175 B
Ruby
4 lines
175 B
Ruby
unless Rails.env == 'test'
|
|
Rails.application.middleware.swap(Rack::Deflater, Rack::MiniProfiler)
|
|
Rails.application.middleware.swap(Rack::MiniProfiler, Rack::Deflater)
|
|
end
|