method

require_sri_for

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: ContentSecurityPolicy
require_sri_for(*types) public

Specify asset types for which Subresource Integrity is required:

policy.require_sri_for :script, :style

Leave empty to not require Subresource Integrity:

policy.require_sri_for
Show source
Register or log in to add new notes.