From b95db2e951109a9f88ba999872c3db15747f8b5b Mon Sep 17 00:00:00 2001 From: csd4ni3l Date: Fri, 8 Aug 2025 18:19:34 +0200 Subject: [PATCH] add host and port environment variables --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 51dae39..2cadee0 100644 --- a/main.py +++ b/main.py @@ -96,4 +96,4 @@ def logout(): def unauthorized_handler(): return redirect("/login") -app.run(debug=True) \ No newline at end of file +app.run(debug=True, port=os.environ.get("PORT"), host=os.environ.get("HOST", "0.0.0.0")) \ No newline at end of file