Skip to content

Commit

Permalink
Update FLASK_DEBUG_MODE setting to use value from settings module
Browse files Browse the repository at this point in the history
  • Loading branch information
dartpain committed Apr 8, 2024
1 parent abf24fe commit e07df29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/wsgi.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit e07df29

Please sign in to comment.