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 }}
|
{{ end }}
|
||||||
|
|
||||||
{{ $js := .Scratch.Get "jslibs" | resources.Concat "js/combined-scripts.js" | resources.Minify | fingerprint }}
|
{{ $js := .Scratch.Get "jslibs" | resources.Concat "js/combined-scripts.js" | resources.Minify | fingerprint }}
|
||||||
<script
|
<script src="{{ $js.RelPermalink }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" crossorigin="anonymous" integrity="{{ $js.Data.Integrity }}"></script>
|
||||||
src="{{ $js.RelPermalink }}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"
|
|
||||||
integrity="{{ $js.Data.Integrity }}"
|
|
||||||
></script>
|
|
||||||
|
|
Reference in a new issue