From 9fad1004a7a1250211c86b5c0d1ed235944328e7 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Dec 2021 22:10:12 +0200 Subject: [PATCH] sdfdfs --- files/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/__main__.py b/files/__main__.py index 41b97b033..751c3b1e5 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -125,6 +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' ajax.cloudflare.com; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';") return response