From dacc20ba6052f82ba208d20d397e49bb5e528f42 Mon Sep 17 00:00:00 2001 From: Peter McConnell Date: Tue, 7 Nov 2023 00:56:29 +0000 Subject: [PATCH] chore: allowing port to be overwritten by env --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index d3fce78..73a8200 100644 --- a/backend/main.py +++ b/backend/main.py @@ -123,4 +123,4 @@ def route_frontend(path): if __name__ == "__main__": - app.run(host="0.0.0.0", port=80) + app.run(host="0.0.0.0", port=os.getenv("PORT", "80"))