From e0996b36cbdc439bf0ad6595342c0f965f31c119 Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Tue, 16 Mar 2021 16:16:26 +0100 Subject: [PATCH] fix: update content security header --- layouts/index.headers | 2 +- layouts/partials/footer/script-footer.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/index.headers b/layouts/index.headers index 1345798e6..06a4cc842 100644 --- a/layouts/index.headers +++ b/layouts/index.headers @@ -2,7 +2,7 @@ Strict-Transport-Security: max-age=31536000; includeSubDomains; preload X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block - Content-Security-Policy: default-src 'self'; frame-ancestors https://jamstackthemes.dev; manifest-src 'self'; connect-src 'self'; font-src 'self'; img-src 'self' data:; script-src 'self' 'nonce-wPV5wYvXV9ifrqhyVhpMHg==' 'unsafe-inline'; style-src 'self' + Content-Security-Policy: default-src 'self'; frame-ancestors https://jamstackthemes.dev; manifest-src 'self'; connect-src 'self'; font-src 'self'; img-src 'self' data:; script-src 'self' 'nonce-wPV5wYvXV9ifrqhyVhpMHg=='; style-src 'self' X-Frame-Options: SAMEORIGIN Referrer-Policy: strict-origin Feature-Policy: geolocation 'self' diff --git a/layouts/partials/footer/script-footer.html b/layouts/partials/footer/script-footer.html index 0f767d85a..55e824139 100644 --- a/layouts/partials/footer/script-footer.html +++ b/layouts/partials/footer/script-footer.html @@ -61,7 +61,7 @@ {{ end -}} {{ if .Site.Params.options.kaTex -}} - + {{ end -}} {{ if .Site.Params.options.flexSearch -}} @@ -82,7 +82,7 @@ {{ end -}} {{ if .Site.Params.options.kaTex -}} - + {{ end -}} {{ if .Site.Params.options.flexSearch -}}