From 76a351710fffe2be1ae10471bc1a2f511f481126 Mon Sep 17 00:00:00 2001 From: Marcin-Ramotowski Date: Sun, 4 May 2025 16:42:43 +0000 Subject: [PATCH] Added variable APP_PORT to customize application port --- api/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app.py b/api/app.py index 1ae248d..c4c08bd 100644 --- a/api/app.py +++ b/api/app.py @@ -63,5 +63,5 @@ def create_app(config_name="default"): if __name__ == "__main__": from waitress import serve app = create_app() - port = os.getenv("API_PORT", "80") + port = os.getenv("APP_PORT", "80") serve(app, host="0.0.0.0", port=port)