method
report_uri
v7.1.3.2 -
Show latest stable
- Class:
ActionDispatch::ContentSecurityPolicy
report_uri(uri)public
Enable the report-uri directive. Violation reports will be sent to the specified URI:
policy.report_uri "/csp-violation-report-endpoint"