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

3 lines
92 B
Ruby

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