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

4 lines
93 B
Ruby

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