mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-23 16:13:15 -05:00
7 lines
220 B
Ruby
7 lines
220 B
Ruby
require 'rack-mini-profiler'
|
|
|
|
Rack::MiniProfilerRails.initialize!(Rails.application)
|
|
|
|
Rails.application.middleware.delete(Rack::MiniProfiler)
|
|
Rails.application.middleware.insert_after(Rack::Deflater, Rack::MiniProfiler)
|