mirror of
https://github.com/OpenFusionProject/scripts.git
synced 2025-04-14 16:30:07 +00:00
Revert "Autorun Flask app"
This reverts commit e0e0b3c5e35fa100b48766804cfbcb06aa0d90c9. 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…
x
Reference in New Issue
Block a user