From 3fd2b76d9276e547ce79b8a4f37b7d50b688eeda Mon Sep 17 00:00:00 2001 From: liushuyu Date: Fri, 13 May 2022 16:28:20 -0600 Subject: [PATCH] layouts: add CORS policy to the script tag --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b6c1303..76bb84a 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -102,7 +102,7 @@ {{ $mainJs := resources.Match "js/**.js" | resources.Concat "js/script.js" | minify | fingerprint }} - + {{- block "scripts" . }}{{- end }} {{- if eq (getenv "HUGO_ENV") "PRD" }}