Update FLASK_DEBUG_MODE setting to use value from settings module

This commit is contained in:
Alex
2024-04-08 13:15:58 +01:00
parent 6911f8652a
commit abf24fe60f
2 changed files with 3 additions and 1 deletions

View File

@@ -40,5 +40,5 @@ def after_request(response):
return response
if __name__ == "__main__":
app.run(debug=True, port=7091)
app.run(debug=settings.FLASK_DEBUG_MODE, port=7091)