From 01af962fd1faf2eb0851f590e98bf74d6459d758 Mon Sep 17 00:00:00 2001 From: Tyler Hale Date: Fri, 22 Mar 2024 10:43:49 -0600 Subject: [PATCH] Adjusting CSP --- hugo.yaml | 3 +-- layouts/partials/head.html | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index d00a5ef..d781d0d 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -1,4 +1,4 @@ -baseURL: https://oldwoodman.com +baseURL: / title: Old Wood Man timeout: 600s disableKinds: @@ -34,7 +34,6 @@ server: - for: /** values: Referrer-Policy: strict-origin-when-cross-origin - #content_security_policy: "script-src 'self' 'unsafe-eval' https://oldwoodman.com; object-src 'self'" module: mounts: - source: assets diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 29d80bc..55e6a65 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,5 +7,3 @@ {{ with site.Params.plausible_domain }} {{ end }} -Content-Security-Policy: default-src 'self' -