Adjusting CSP

This commit is contained in:
Tyler Hale 2024-03-22 10:43:49 -06:00
parent 8f1ac800e4
commit 01af962fd1
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96
2 changed files with 1 additions and 4 deletions

View file

@ -1,4 +1,4 @@
baseURL: https://oldwoodman.com baseURL: /
title: Old Wood Man title: Old Wood Man
timeout: 600s timeout: 600s
disableKinds: disableKinds:
@ -34,7 +34,6 @@ server:
- for: /** - for: /**
values: values:
Referrer-Policy: strict-origin-when-cross-origin Referrer-Policy: strict-origin-when-cross-origin
#content_security_policy: "script-src 'self' 'unsafe-eval' https://oldwoodman.com; object-src 'self'"
module: module:
mounts: mounts:
- source: assets - source: assets

View file

@ -7,5 +7,3 @@
{{ with site.Params.plausible_domain }} {{ with site.Params.plausible_domain }}
<script defer data-domain="{{ . }}" src="https://plausible.io/js/plausible.js"></script> <script defer data-domain="{{ . }}" src="https://plausible.io/js/plausible.js"></script>
{{ end }} {{ end }}
Content-Security-Policy: default-src 'self'