From 0b5856bd8af06e56342e2fccddc9edd66c5ecb31 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 28 Jun 2024 00:58:16 +0200 Subject: [PATCH] temporarily disable integrity checks on scripts --- layouts/partials/head.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2c7043b8..cfd12da7 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -30,15 +30,14 @@ {{ $main = $main | toCSS $opts | postCSS | fingerprint }} {{ end }} - + {{ $opts := dict "targetPath" "js/main.js" "enableSourceMap" (not hugo.IsProduction) }} {{ with resources.Get "ts/main.ts" | js.Build $opts | minify | fingerprint }} - + {{ end }} {{ if .IsHome }} @@ -47,7 +46,7 @@ "enableSourceMap" (not hugo.IsProduction) }} {{ with resources.Get "ts/formWorker.ts" | js.Build $opts | minify | fingerprint }} - + {{ end }} {{ end }}