From ba6001d45d8b2a979f2bd4fe4dc6eb5a46110e6f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Dec 2021 00:23:46 +0200 Subject: [PATCH] dfsdfs --- files/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/__main__.py b/files/__main__.py index 4dce46db0..b51f7157d 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'; 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'; 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