mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
Merge pull request #71 from alphagov/csp-fonts
Add content security policy directive to allow loading of base64 encoded
This commit is contained in:
@@ -124,7 +124,7 @@ def useful_headers_after_request(response):
|
||||
response.headers.add('X-Content-Type-Options', 'nosniff')
|
||||
response.headers.add('X-XSS-Protection', '1; mode=block')
|
||||
response.headers.add('Content-Security-Policy',
|
||||
"default-src 'self' 'unsafe-inline'")
|
||||
"default-src 'self' 'unsafe-inline'; font-src 'self' data:;") # noqa
|
||||
return response
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user