From cc7f906000fda0c56692e9f46f12cea6a11ad8ac Mon Sep 17 00:00:00 2001 From: csd4ni3l Date: Thu, 23 Oct 2025 11:10:25 +0200 Subject: [PATCH] Fix some env variable issues --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index e0ef489..75740ed 100644 --- a/app.py +++ b/app.py @@ -111,4 +111,4 @@ def register(): return redirect(url_for("login")) -app.run(host=os.getenv("HOST", "0.0.0.0"), port=os.getenv("PORT", 8080), debug=os.getenv("DEBUG_MODE", False)) \ No newline at end of file +app.run(host=os.getenv("HOST", "0.0.0.0"), port=int(os.getenv("PORT", 8080)), debug=os.getenv("DEBUG_MODE", False).lower() == "true") \ No newline at end of file