From a900c8eb0e478e657c92c827957e247b1b75b5a9 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sat, 18 Aug 2018 09:40:59 -0500 Subject: [PATCH] disabled site viewer --- onionr/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/onionr/api.py b/onionr/api.py index 37c6b531..1ce5eca9 100755 --- a/onionr/api.py +++ b/onionr/api.py @@ -239,6 +239,7 @@ class API: resp = Response('Goodbye') elif action == 'ping': resp = Response('pong') + '''#TODO Remove and replace with iframe elif action == 'site': block = data siteData = self._core.getData(data) @@ -247,6 +248,7 @@ class API: self.mimeType = 'text/html' response = siteData.split(b'-', 2)[-1] resp = Response(response) + ''' elif action == "insertBlock": response = {'success' : False, 'reason' : 'An unknown error occurred'}