From 09a549df33e07324c50f121d31cb0476576f2cca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Fri, 28 Jun 2024 10:28:39 +0200 Subject: [PATCH] Fix ContentSecurityPolicy for bootstrap on c2c page --- .../{{cookiecutter.project}}/geoportal/CONST_vars.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/geoportal/c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/geoportal/CONST_vars.yaml b/geoportal/c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/geoportal/CONST_vars.yaml index aea14b67b1..d904b6fee0 100644 --- a/geoportal/c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/geoportal/CONST_vars.yaml +++ b/geoportal/c2cgeoportal_geoportal/scaffolds/update/{{cookiecutter.project}}/geoportal/CONST_vars.yaml @@ -1003,7 +1003,7 @@ vars: content_security_policy_admin_style_src: " 'self' 'unsafe-inline' - https://stackpath.bootstrapcdn.com/ + https://cdnjs.cloudflare.com/ {content_security_policy_admin_style_src_extra}" content_security_policy_admin_img_src: ' * @@ -1031,7 +1031,7 @@ vars: content_security_policy_apihelp_style_src: " 'self' 'unsafe-inline' - https://stackpath.bootstrapcdn.com/ + https://cdnjs.cloudflare.com/ {content_security_policy_apihelp_style_src_extra}" content_security_policy_apihelp_img_src: ' * @@ -1053,7 +1053,7 @@ vars: content_security_policy_c2c_style_src: " 'self' 'unsafe-inline' - https://stackpath.bootstrapcdn.com/ + https://cdnjs.cloudflare.com/ {content_security_policy_c2c_style_src_extra}" content_security_policy_iframe_api_frame_ancestors: "'self'"