forked from LBRYCommunity/lbry-sdk
change access control allow origin to *
This commit is contained in:
parent
f4fd4245be
commit
2670279b0d
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
except jsonrpclib.Fault, f:
|
except jsonrpclib.Fault, f:
|
||||||
self._cbRender(f, request, id, version)
|
self._cbRender(f, request, id, version)
|
||||||
else:
|
else:
|
||||||
request.setHeader('Access-Control-Allow-Origin', UI_ADDRESS)
|
request.setHeader("Access-Control-Allow-Origin", "*")
|
||||||
request.setHeader("content-type", "text/json")
|
request.setHeader("content-type", "text/json")
|
||||||
if args == [{}]:
|
if args == [{}]:
|
||||||
d = defer.maybeDeferred(function)
|
d = defer.maybeDeferred(function)
|
||||||
|
|
Loading…
Reference in a new issue