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.
This commit is contained in:
Martin Brennan 2022-08-24 16:01:42 +10:00 committed by GitHub
parent 4b84236bc1
commit b197ca02b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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