You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that to generate the SHA value for an inline script we need to wrap it within a {{ if $secureJS.Content }}{{ end }} before accessing the integrity.
It seems that to generate the SHA value for an inline script we need to wrap it within a
{{ if $secureJS.Content }}{{ end }}
before accessing the integrity.Also see related Forum topic: https://discourse.gohugo.io/t/generate-inline-script-sha-for-content-security-policy/14627
The text was updated successfully, but these errors were encountered: