Update FLASK_DEBUG_MODE setting to use value from settings module

This commit is contained in:
Alex
2024-04-08 13:27:43 +01:00
parent abf24fe60f
commit e07df29ab9

View File

@@ -1,4 +1,5 @@
from application.app import app
from application.core.settings import settings
if __name__ == "__main__":
app.run(debug=True, port=7091)
app.run(debug=settings.FLASK_DEBUG_MODE, port=7091)