From b197ca02b7a802d66e2cdc98a3463a0feac1649b Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Wed, 24 Aug 2022 16:01:42 +1000 Subject: [PATCH] DEV: Do not MiniProfile theme-javascripts (#18067) This creates a huge amount of noise depending on the themes/theme components installed and doesn't provide much value. --- config/initializers/006-mini_profiler.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/initializers/006-mini_profiler.rb b/config/initializers/006-mini_profiler.rb index a9f4fad5180..d23a75b1ac1 100644 --- a/config/initializers/006-mini_profiler.rb +++ b/config/initializers/006-mini_profiler.rb @@ -48,7 +48,8 @@ if defined?(Rack::MiniProfiler) && defined?(Rack::MiniProfiler::Config) /^\/javascripts\//, /^\/images\//, /^\/stylesheets\//, - /^\/favicon\/proxied/ + /^\/favicon\/proxied/, + /^\/theme-javascripts/ ] # we DO NOT WANT mini-profiler loading on anything but real desktops and laptops