mirror of https://github.com/escalate/hugo-split-theme.git

Felix Boerner
08.15.2024 683ce4c4f63f38fa989e1c9f9a76aed02eb3468c
test: fix csp for youtube video
1 files modified
2 ■■■ changed files
tests/exampleSiteWithVideo/hugo.toml 2 ●●● patch | view | raw | blame | history
tests/exampleSiteWithVideo/hugo.toml
@@ -112,7 +112,7 @@
[[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'