mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 06:55:43 +08:00
DEV: Add /theme-qunit
to skipped mini profiler paths (#20551)
This commit is contained in:
parent
c52570ddc4
commit
15cf62411a
@ -54,6 +54,7 @@ if defined?(Rack::MiniProfiler) && defined?(Rack::MiniProfiler::Config)
|
|||||||
/topics/timings
|
/topics/timings
|
||||||
/uploads/
|
/uploads/
|
||||||
/user_avatar/
|
/user_avatar/
|
||||||
|
/theme-qunit
|
||||||
].map { |path| "#{Discourse.base_path}#{path}" }
|
].map { |path| "#{Discourse.base_path}#{path}" }
|
||||||
|
|
||||||
# we DO NOT WANT mini-profiler loading on anything but real desktops and laptops
|
# we DO NOT WANT mini-profiler loading on anything but real desktops and laptops
|
||||||
|
Loading…
x
Reference in New Issue
Block a user