module Roda::RodaPlugins::ContentSecurityPolicy
def self.configure(app)
def self.configure(app) policy = app.opts[:content_security_policy] = if policy = app.opts[:content_security_policy] policy.dup else Policy.new end yield policy if defined?(yield) policy.freeze end