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:
dongresource 2023-12-24 03:36:33 +01:00
parent f02c960497
commit f62f3af483
1 changed files with 0 additions and 1 deletions

View File

@ -15,7 +15,6 @@ def main(db_path):
except Exception as ex:
print(ex)
sys.exit()
app.run()
#db.set_trace_callback(print)