From 9f38b6f462ca4041b92b816acdc4036ba0e4fd7c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Dec 2021 00:45:59 +0200 Subject: [PATCH] fdsdfs --- files/__main__.py | 2 +- files/templates/default.html | 1 - files/templates/home.html | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/__main__.py b/files/__main__.py index de8ff43f9..d7b1a9a91 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -125,7 +125,7 @@ def after_request(response): response.headers.add("Strict-Transport-Security", "max-age=31536000") response.headers.add("X-Frame-Options", "deny") - response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';") + response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval' 'sha256-68ef204ba201db38f6b29ac6b66f16ccde9d2215125ffe408d1bd4a3882a9966'; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';") return response from files.routes import * \ No newline at end of file diff --git a/files/templates/default.html b/files/templates/default.html index 95503fa9f..5a8fd36fb 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -2,7 +2,6 @@ - {% if v %} diff --git a/files/templates/home.html b/files/templates/home.html index 390866c5a..1d63600ab 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -148,6 +148,7 @@ {% endif %} {% if v %} +
{% endif %}