relative http redirect from /get -> /stream
This commit is contained in:
parent
3a53ef5690
commit
4d0e9e0428
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
name, claim_id = name_and_claim_id.split("/")
|
||||
uri = f"lbry://{name}#{claim_id}"
|
||||
stream = await self.jsonrpc_get(uri)
|
||||
return web.HTTPFound(f"http://localhost:5279/stream/{stream.sd_hash}")
|
||||
return web.HTTPFound(f"/stream/{stream.sd_hash}")
|
||||
|
||||
async def handle_stream_range_request(self, request: web.Request):
|
||||
sd_hash = request.path.split("/stream/")[1]
|
||||
|
|
Loading…
Reference in a new issue