master
Aevann1 2021-12-08 19:40:36 +02:00
parent c633a69fd4
commit bba10ed66b
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ def after_request(response):
response.headers.add("Strict-Transport-Security", "max-age=31536000") response.headers.add("Strict-Transport-Security", "max-age=31536000")
response.headers.add("X-Frame-Options", "deny") response.headers.add("X-Frame-Options", "deny")
response.headers.add("Content-Security-Policy", "script-src 'self' *.cloudflare.com;") response.headers.add("Content-Security-Policy", "script-src 'self' ajax.cloudflare.com 'unsafe-inline' static.cloudflareinsights.com; connect-src cloudflareinsights.co;")
return response return response