From 274e6d84ec5d67cfd6cb19e953e7e4d0be47db9c Mon Sep 17 00:00:00 2001 From: Michel Brodatzki <michel.brodatzki@student.kit.edu> Date: Mon, 19 Aug 2024 20:58:31 +0000 Subject: [PATCH] Fix CSP headers, part 3 --- themes/fsetit/layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/fsetit/layouts/partials/head.html b/themes/fsetit/layouts/partials/head.html index 28dbcb0..8bd24be 100644 --- a/themes/fsetit/layouts/partials/head.html +++ b/themes/fsetit/layouts/partials/head.html @@ -3,7 +3,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="{{ $.Site.Params.SEODescription }}" /> -<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'nonce-{{ hugo.Version | base64Encode }}'; img-src 'self' data:; connect-src *; font-src data:;" /> +<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'nonce-{{ hugo.Version | base64Encode }}'; img-src 'self' data:; connect-src *; font-src data:; script-src 'unsafe-eval';" /> <title> {{ .Page.Title }} | {{ $.Site.Title }} -- GitLab