mirror of
https://github.com/simon987/od-database.git
synced 2025-12-15 23:59:05 +00:00
Use task_tracker for task tracking
This commit is contained in:
9
uwsgi.py
9
uwsgi.py
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user