Toevoegen van crossorigin ivm CSP-header en relatie CORS en SRI
This commit is contained in:
parent
f38b451bcd
commit
6bf2077e64
|
@ -7,7 +7,4 @@
|
|||
{{ end }}
|
||||
|
||||
{{ $js := .Scratch.Get "jslibs" | resources.Concat "js/combined-scripts.js" | resources.Minify | fingerprint }}
|
||||
<script
|
||||
src="{{ $js.RelPermalink }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"
|
||||
integrity="{{ $js.Data.Integrity }}"
|
||||
></script>
|
||||
<script src="{{ $js.RelPermalink }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" crossorigin="anonymous" integrity="{{ $js.Data.Integrity }}"></script>
|
||||
|
|
Reference in a new issue