From ab45dd6b5b0bb6e8a1c719f7519831902601c6c3 Mon Sep 17 00:00:00 2001 From: "Engelbart Kai Sven (PEA4-Fe)" Date: Mon, 22 Feb 2021 14:19:14 +0100 Subject: [PATCH] Adjust CSP to support pdfmake --- cf_config/headers.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cf_config/headers.conf b/cf_config/headers.conf index 032aff2..f5c959d 100644 --- a/cf_config/headers.conf +++ b/cf_config/headers.conf @@ -1,4 +1,4 @@ -add_header Content-Security-Policy "default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self'; font-src 'self'; connect-src https://*.apps.de1.bosch-iot-cloud.com; form-action 'none'; frame-ancestors 'none'; base-uri 'self'"; +add_header Content-Security-Policy "default-src 'none'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self'; font-src 'self'; connect-src https://*.apps.de1.bosch-iot-cloud.com; form-action 'none'; frame-ancestors 'none'; base-uri 'self'"; add_header X-Frame-Options DENY; add_header X-DNS-Prefetch-Control off; add_header Strict-Transport-Security "max-age=15552000; includeSubDomains";