mirror of
https://github.com/discourse/discourse.git
synced 2025-06-18 00:53:47 +08:00
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:
@ -48,7 +48,8 @@ if defined?(Rack::MiniProfiler) && defined?(Rack::MiniProfiler::Config)
|
|||||||
/^\/javascripts\//,
|
/^\/javascripts\//,
|
||||||
/^\/images\//,
|
/^\/images\//,
|
||||||
/^\/stylesheets\//,
|
/^\/stylesheets\//,
|
||||||
/^\/favicon\/proxied/
|
/^\/favicon\/proxied/,
|
||||||
|
/^\/theme-javascripts/
|
||||||
]
|
]
|
||||||
|
|
||||||
# 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
|
||||||
|
Reference in New Issue
Block a user