discourse/config/initializers/11-rack-protection.rb

3 lines
No EOL
92 B
Ruby

require 'rack/protection'
Rails.configuration.middleware.use Rack::Protection::FrameOptions