From 8107e97304cc2c44ec12d449e9bb26356a1ac2ee Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 18 Apr 2019 17:30:54 -0400 Subject: [PATCH] remove debugging /streams endpoint --- lbrynet/extras/daemon/Daemon.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lbrynet/extras/daemon/Daemon.py b/lbrynet/extras/daemon/Daemon.py index 4727e116c..166fec905 100644 --- a/lbrynet/extras/daemon/Daemon.py +++ b/lbrynet/extras/daemon/Daemon.py @@ -273,7 +273,6 @@ class Daemon(metaclass=JSONRPCServerType): app = web.Application() app.router.add_get('/lbryapi', self.handle_old_jsonrpc) app.router.add_post('/lbryapi', self.handle_old_jsonrpc) - app.router.add_get('/streams', self.handle_streams_index) app.router.add_get('/get/{claim_name}', self.handle_stream_get_request) app.router.add_get('/get/{claim_name}/{claim_id}', self.handle_stream_get_request) app.router.add_get('/stream/{sd_hash}', self.handle_stream_range_request) @@ -457,15 +456,6 @@ class Daemon(metaclass=JSONRPCServerType): content_type='application/json' ) - async def handle_streams_index(self, request: web.Request): - return web.Response( - body="", - content_type='text/html' - ) - async def handle_stream_get_request(self, request: web.Request): name_and_claim_id = request.path.split("/get/")[1] if "/" not in name_and_claim_id: