Merge branch 'master' into mistletoe
This commit is contained in:
commit
3e5d846ac7
43 changed files with 311 additions and 337 deletions
|
@ -136,8 +136,8 @@ def teardown_request(error):
|
|||
def after_request(response):
|
||||
|
||||
response.headers.add("Strict-Transport-Security", "max-age=31536000")
|
||||
response.headers.add("Referrer-Policy", "same-origin")
|
||||
response.headers.add("X-Frame-Options", "deny")
|
||||
response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.pusher.com; object-src 'none';")
|
||||
return response
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue