From 8783cd1ad40dd99b68e64166bc694291ed70bebd Mon Sep 17 00:00:00 2001 From: chang-ning Date: Thu, 13 Sep 2018 18:02:47 +0800 Subject: [PATCH] fix csp rule error --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 76f807b3..5b9fdcc0 100644 --- a/app.py +++ b/app.py @@ -23,7 +23,7 @@ def find_key(token): csp = { "default-src": "'none'", - "style-src": ["'self'", "unsafe-inline", "'unsafe-inline'"], + "style-src": ["'self'", "'unsafe-inline'"], "script-src": [ "'self'", "*.cloudflare.com",