Remove rack_mini_profiler from prod as it could show env var and force us to allow unsafe_eval and script in csp
This commit is contained in:
parent
da371be9e2
commit
d82d1132c2
3 changed files with 4 additions and 9 deletions
|
@ -1 +1,3 @@
|
|||
Rack::MiniProfiler.config.authorization_mode = :whitelist
|
||||
if Rails.env.development?
|
||||
Rack::MiniProfiler.config.authorization_mode = :whitelist
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue