progress removing onionr.py
This commit is contained in:
parent
0690e9ca0e
commit
cbe10f914a
6 changed files with 11 additions and 10 deletions
|
@ -40,7 +40,6 @@ class PrivateAPI:
|
|||
This initialization defines all of the API entry points and handlers for the endpoints and errors
|
||||
This also saves the used host (random localhost IP address) to the data folder in host.txt
|
||||
'''
|
||||
time.sleep(0.3)
|
||||
self.config = config
|
||||
self.serializer = serializeddata.SerializedData()
|
||||
self.startTime = epoch.get_epoch()
|
||||
|
|
|
@ -38,7 +38,6 @@ class PublicAPI:
|
|||
The new client api server, isolated from the public api
|
||||
'''
|
||||
def __init__(self):
|
||||
time.sleep(1)
|
||||
app = flask.Flask('PublicAPI')
|
||||
app.config['MAX_CONTENT_LENGTH'] = 5 * 1024 * 1024
|
||||
self.i2pEnabled = config.get('i2p.host', False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue