diff options
author | Tobias Adam <mail@tobiadam.de> | 2016-03-22 21:39:21 +0100 |
---|---|---|
committer | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-03-24 12:22:25 +0100 |
commit | e887b933ab9b6f83d6ebe02138ea3cd79d30c710 (patch) | |
tree | 20ca554036a9be87377cc11fd0c1d67bbf6d49fc /service/pixelated/resources | |
parent | b67fe3688bd4a49f08714ac46f8230c23816dca7 (diff) |
Work in progress: Fix loading webfonts in the sandbox.
Diffstat (limited to 'service/pixelated/resources')
-rw-r--r-- | service/pixelated/resources/sandbox_resource.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/pixelated/resources/sandbox_resource.py b/service/pixelated/resources/sandbox_resource.py index 28e8c9be..a2d41cb7 100644 --- a/service/pixelated/resources/sandbox_resource.py +++ b/service/pixelated/resources/sandbox_resource.py @@ -31,4 +31,5 @@ class SandboxResource(File): request.setHeader('Content-Security-Policy', self.CSP_HEADER_VALUES) request.setHeader('X-Content-Security-Policy', self.CSP_HEADER_VALUES) request.setHeader('X-Webkit-CSP', self.CSP_HEADER_VALUES) + request.setHeader('Access-Control-Allow-Origin', '*') return super(SandboxResource, self).render_GET(request) |