mirror of
https://github.com/OpenFusionProject/scripts.git
synced 2024-11-21 13:50:05 +00:00
Revert "Autorun Flask app"
This reverts commit e0e0b3c5e3
.
Flask applications are not supposed to be run this way. We run the
endpoints with uwsgi in prod or with the flask program for debugging.
https://flask.palletsprojects.com/en/3.0.x/api/#flask.Flask.run
This commit is contained in:
parent
f02c960497
commit
f62f3af483
@ -15,7 +15,6 @@ def main(db_path):
|
||||
except Exception as ex:
|
||||
print(ex)
|
||||
sys.exit()
|
||||
app.run()
|
||||
|
||||
#db.set_trace_callback(print)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user