mirror of
https://github.com/OpenFusionProject/scripts.git
synced 2025-12-06 17:40:47 +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:
@@ -15,7 +15,6 @@ def main(db_path):
|
||||
except Exception as ex:
|
||||
print(ex)
|
||||
sys.exit()
|
||||
app.run()
|
||||
|
||||
#db.set_trace_callback(print)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user