This website requires JavaScript.
Explore
Help
Sign In
Discource-C
/
discourse
mirror of
https://github.com/discourse/discourse.git
Watch
1
Star
0
Fork
You've already forked discourse
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
f79a7b0d7f
discourse
/
config
/
initializers
/
011-rack-protection.rb
4 lines
93 B
Ruby
Raw
Normal View
History
Unescape
Escape
require `X-Frame-Options: SAMEORIGIN` for clickjack prevention
2013-10-28 18:14:08 -04:00
require
'rack/protection'
Don't blow up if Redis switches to READONLY
2015-04-24 13:10:43 -04:00
Rails
.
configuration
.
middleware
.
use
Rack
::
Protection
::
FrameOptions