change access control allow origin to *

This commit is contained in:
Jack 2016-03-28 16:49:51 -04:00
parent f4fd4245be
commit 2670279b0d

View file

@ -87,7 +87,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
except jsonrpclib.Fault, f:
self._cbRender(f, request, id, version)
else:
request.setHeader('Access-Control-Allow-Origin', UI_ADDRESS)
request.setHeader("Access-Control-Allow-Origin", "*")
request.setHeader("content-type", "text/json")
if args == [{}]:
d = defer.maybeDeferred(function)