module ActionController::ContentSecurityPolicy

def current_content_security_policy

def current_content_security_policy
  request.content_security_policy&.clone || ActionDispatch::ContentSecurityPolicy.new
end