From 32660d25902770210e3b45d4488ba8c65f1aa559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Wed, 15 Jul 2026 11:46:23 +0400 Subject: [PATCH] =?UTF-8?q?fix:=20add=20app.run()=20=E2=80=94=20script=20w?= =?UTF-8?q?as=20creating=20app=20then=20exiting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/site/app.py b/site/app.py index 450e651..c5a4ce8 100644 --- a/site/app.py +++ b/site/app.py @@ -40,3 +40,6 @@ def _init_db(): app = create_app() + +if __name__ == "__main__": + app.run(host="0.0.0.0", port=5000, threaded=True)