From 56b876c63a263d06ee7f7267193a853261f6e1a7 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 26 May 2020 09:36:37 +0200 Subject: [PATCH] Fix CSP security (remove unsafe-inline and unsafe-eval) --- frontend/index.html | 4 ++-- frontend/service-settings.html | 4 ++-- frontend/settings.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 8de9d40..7ba284e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ Tabs - + @@ -12,7 +12,7 @@ - + diff --git a/frontend/service-settings.html b/frontend/service-settings.html index 453317d..7ca53f7 100644 --- a/frontend/service-settings.html +++ b/frontend/service-settings.html @@ -4,7 +4,7 @@ Service settings - + @@ -12,7 +12,7 @@ - + diff --git a/frontend/settings.html b/frontend/settings.html index aa783fb..2e7ef87 100644 --- a/frontend/settings.html +++ b/frontend/settings.html @@ -5,7 +5,7 @@ Service settings + content="style-src 'self' 'unsafe-inline' https://use.fontawesome.com; font-src 'self' https://use.fontawesome.com; script-src 'self' 'sha256-UoPUIMX0PZl7cy3YoegZ0EDleSaHxTURPMyK09xsa0E='"> @@ -13,7 +13,7 @@ - +