DEV: Move mini profiler badge to the right (#17468)

In the era where we have left aligned sidebar, the mini profiler badge
gets in the way
This commit is contained in:
Alan Guo Xiang Tan
2022-07-13 13:40:12 +08:00
committed by GitHub
parent 3a3628e9b0
commit b4b87454f2
3 changed files with 2 additions and 3 deletions

View File

@ -72,7 +72,6 @@ if defined?(Rack::MiniProfiler) && defined?(Rack::MiniProfiler::Config)
# does not get clobbered.
Rack::MiniProfiler.config.cookie_path = Discourse.base_path.presence || "/"
Rack::MiniProfiler.config.position = 'left'
Rack::MiniProfiler.config.backtrace_ignores ||= []
Rack::MiniProfiler.config.backtrace_ignores << /lib\/rack\/message_bus.rb/
Rack::MiniProfiler.config.backtrace_ignores << /config\/initializers\/silence_logger/