Fix: enabled CORS

This commit is contained in:
Aroy-Art 2023-02-27 10:20:59 +01:00
parent 980825f55e
commit 5bb688581d
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -77,7 +77,7 @@
{{ "<!-- Main Script --> " | safeHTML }} {{ "<!-- Main Script --> " | safeHTML }}
{{ $script := resources.Get "js/script.js" | minify | fingerprint "sha384" }} {{ $script := resources.Get "js/script.js" | minify | fingerprint "sha384" }}
<script src="{{ $script.Permalink }}" integrity="{{ $script.Data.Integrity }}"></script> <script src="{{ $script.Permalink }}" integrity="{{ $script.Data.Integrity }}" crossorigin="anonymous"></script>
{{ if site.Params.cookies.enable }} {{ if site.Params.cookies.enable }}
{{ "<!-- Cookie Box -->" | safeHTML }} {{ "<!-- Cookie Box -->" | safeHTML }}