From b16317b54d74e759178e750880d2173b7b64e771 Mon Sep 17 00:00:00 2001 From: Reinder Kraaij <kraaij@astron.nl> Date: Fri, 24 Nov 2023 09:36:47 +0000 Subject: [PATCH] Content security for tiles --- SAS/TMSS/frontend/tmss_webapp/public/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SAS/TMSS/frontend/tmss_webapp/public/index.html b/SAS/TMSS/frontend/tmss_webapp/public/index.html index 88a552b4406..30166fe66d2 100644 --- a/SAS/TMSS/frontend/tmss_webapp/public/index.html +++ b/SAS/TMSS/frontend/tmss_webapp/public/index.html @@ -8,6 +8,9 @@ <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> <title>TMSS</title> + <meta http-equiv="Content-Security-Policy" content="default-src *; + img-src * 'self' data: https:; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; + style-src 'self' 'unsafe-inline' *" /> </head> <body> <noscript>You need to enable JavaScript to run this app.</noscript> -- GitLab