This website requires JavaScript.
Explore
Help
Register
Sign In
github-mirror
/
discourse
Watch
2
Star
0
Fork
0
You've already forked discourse
mirror of
https://github.com/discourse/discourse.git
synced
2024-12-15 22:42:13 +08:00
Code
Issues
Actions
1
Packages
Projects
Releases
Wiki
Activity
5cd680b0be
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-29 06:14:08 +08:00
require
'rack/protection'
Don't blow up if Redis switches to READONLY
2015-04-25 01:10:43 +08:00
Rails
.
configuration
.
middleware
.
use
Rack
::
Protection
::
FrameOptions
Reference in New Issue
Copy Permalink