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

6 lines
124 B
Ruby

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