From 4d0e9e042870e9f8e0baf51b66ae4f819ae430ed Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Wed, 10 Apr 2019 10:27:17 -0400 Subject: [PATCH] relative http redirect from /get -> /stream --- lbrynet/extras/daemon/Daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/extras/daemon/Daemon.py b/lbrynet/extras/daemon/Daemon.py index c45e5d62a..0f5dd7252 100644 --- a/lbrynet/extras/daemon/Daemon.py +++ b/lbrynet/extras/daemon/Daemon.py @@ -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]