summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Boerner <ich@felix-boerner.de>2024-11-08 11:15:02 +0100
committerFelix Boerner <ich@felix-boerner.de>2024-11-08 11:15:02 +0100
commit8bb096b49495c49f5b5b6f5dcd2d077fdd515340 (patch)
tree1a29132c3e55f2c18dcde5c86b2f73d50ddd47f5
parent2e7ed516c1603a36566031744708c60d902d0c3f (diff)
test: fix csp for youtube videoswitch_to_webflow
-rw-r--r--tests/exampleSiteWithVideo/hugo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exampleSiteWithVideo/hugo.toml b/tests/exampleSiteWithVideo/hugo.toml
index 807ef39..45942a2 100644
--- a/tests/exampleSiteWithVideo/hugo.toml
+++ b/tests/exampleSiteWithVideo/hugo.toml
@@ -112,7 +112,7 @@ copyright = "&copy;2024 Your Name"
[[server.headers]]
for = '/**'
[server.headers.values]
- Content-Security-Policy = "default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' https://dummyimage.com"
+ Content-Security-Policy = "default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; frame-src https://www.youtube.com/embed/; img-src 'self' https://dummyimage.com"
Referrer-Policy = 'strict-origin-when-cross-origin'
X-Content-Type-Options = 'nosniff'
X-Frame-Options = 'DENY'