1
0
Fork 0
forked from OpenNeo/impress

Disable advanced mini-profiler tools in production

I'm not really using this lately, and it _only_ creates vulnerability
surface area when not in use; so, while I'm pretty sure we locked this
down correctly to only admin accounts, I'm disabling it just as good
practice. We can add this back later if we need it again!
This commit is contained in:
Emi Matchu 2024-02-03 08:21:14 -08:00
parent d6b6ab884d
commit 8aa6eb40a7

View file

@ -1,3 +0,0 @@
Rails.configuration.to_prepare do
Rack::MiniProfiler.config.enable_advanced_debugging_tools = true
end