disabled site viewer

This commit is contained in:
Kevin Froman 2018-08-18 10:09:55 -05:00
parent a900c8eb0e
commit 3a666d23e7
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 0 additions and 10 deletions

View File

@ -239,16 +239,6 @@ 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)
response = 'not found'
if siteData != '' and siteData != False:
self.mimeType = 'text/html'
response = siteData.split(b'-', 2)[-1]
resp = Response(response)
'''
elif action == "insertBlock":
response = {'success' : False, 'reason' : 'An unknown error occurred'}