This website requires JavaScript.
Explore
Help
Register
Sign in
DGNum
/
demarches-normaliennes
Watch
15
Star
1
Fork
You've already forked demarches-normaliennes
0
Code
Issues
1
Pull requests
Projects
Releases
Packages
Wiki
Activity
42ddaf05f8
demarches-normaliennes
/
config
/
initializers
/
rack_mini_profiler.rb
4 lines
90 B
Ruby
Raw
Normal View
History
Unescape
Escape
Remove rack_mini_profiler from prod as it could show env var and force us to allow unsafe_eval and script in csp
2020-10-30 17:07:06 +01:00
if
Rails
.
env
.
development?
Rack
::
MiniProfiler
.
config
.
authorization_mode
=
:whitelist
end
Reference in a new issue
Copy permalink