mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-27 21:14:15 +01:00
layouts: add CORS policy to the script tag
This commit is contained in:
parent
95be508e27
commit
3fd2b76d92
@ -102,7 +102,7 @@
|
||||
</div>
|
||||
|
||||
{{ $mainJs := resources.Match "js/**.js" | resources.Concat "js/script.js" | minify | fingerprint }}
|
||||
<script src="{{ $mainJs.Permalink }}" integrity="{{ $mainJs.Data.Integrity }}"></script>
|
||||
<script src="{{ $mainJs.Permalink }}" integrity="{{ $mainJs.Data.Integrity }}" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
{{- block "scripts" . }}{{- end }}
|
||||
|
||||
{{- if eq (getenv "HUGO_ENV") "PRD" }}
|
||||
|
Loading…
Reference in New Issue
Block a user