forked from fedi/mastodon
5 lines
175 B
Ruby
5 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
|