fix: disable debug by default

This commit is contained in:
2026-07-06 18:40:49 +08:00
parent 6bc2a5f8d7
commit 9c3ad677b9
3 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
from app import create_app
from app.config import Config
app = create_app()
if __name__ == "__main__":
app.run(host="0.0.0.0", port=5005, debug=True, use_reloader=False)
app.run(host="0.0.0.0", port=5005, debug=Config.DEBUG, use_reloader=False)