allow all origins

This commit is contained in:
Jude Nelson
2017-02-11 17:47:18 -05:00
parent 6007bd9f0f
commit 7541f96f7d

View File

@@ -289,6 +289,7 @@ class BlockstackAPIEndpointHandler(SimpleHTTPRequestHandler):
"""
self.send_response(status_code)
self.send_header('content-type', content_type)
self.send_header('Access-Control-Allow-Origin', '*') # CORS
self.end_headers()