Use task_tracker for task tracking

This commit is contained in:
simon987
2019-03-24 20:21:43 -04:00
parent 00e3fd7340
commit 4ffe805b8d
29 changed files with 196 additions and 317 deletions

View File

@@ -1,11 +1,4 @@
from app import app
import config
import ssl
if __name__ == '__main__':
if not config.USE_SSL:
context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
context.load_cert_chain('certificates/cert.pem', 'certificates/privkey.pem')
app.run("0.0.0.0", port=12345, ssl_context=context, threaded=True)
else:
app.run("0.0.0.0", port=12345, threaded=True)
app.run("0.0.0.0", port=12345)