mirror of
https://github.com/csd4ni3l/loginween.git
synced 2026-01-01 04:23:48 +01:00
Fix some env variable issues
This commit is contained in:
2
app.py
2
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))
|
||||
app.run(host=os.getenv("HOST", "0.0.0.0"), port=int(os.getenv("PORT", 8080)), debug=os.getenv("DEBUG_MODE", False).lower() == "true")
|
||||
Reference in New Issue
Block a user