Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add `/theme-qunit` to skipped mini profiler paths (#20551)

Keegan George15cf62411ac6
diff --git a/config/initializers/006-mini_profiler.rb b/config/initializers/006-mini_profiler.rb
index 2ac8e3eb0b5..3ea4a6fa798 100644
--- a/config/initializers/006-mini_profiler.rb
+++ b/config/initializers/006-mini_profiler.rb
@@ -54,6 +54,7 @@ if defined?(Rack::MiniProfiler) && defined?(Rack::MiniProfiler::Config)
/topics/timings
/uploads/
/user_avatar/
+ /theme-qunit
].map { |path| "#{Discourse.base_path}#{path}" }
# we DO NOT WANT mini-profiler loading on anything but real desktops and laptops