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

4 lines
93 B
Ruby

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