add host and port environment variables

This commit is contained in:
csd4ni3l
2025-08-08 18:19:34 +02:00
parent 3fcbbcfe34
commit b95db2e951

View File

@@ -96,4 +96,4 @@ def logout():
def unauthorized_handler(): def unauthorized_handler():
return redirect("/login") return redirect("/login")
app.run(debug=True) app.run(debug=True, port=os.environ.get("PORT"), host=os.environ.get("HOST", "0.0.0.0"))