--- src/common/gen/save_config.py.orig 2026-05-10 11:25:04 UTC +++ src/common/gen/save_config.py @@ -177,7 +177,7 @@ if __name__ == "__main__": # Use API builder to compute scheme and port from URL or parts endpoint = API.build_endpoint( bw_instance, - port=settings.get("API_HTTP_PORT"), + port=settings.get("HTTP_PORT", "80"), listen_https=(settings.get("API_LISTEN_HTTPS", "no") or "no").lower() == "yes", https_port=settings.get("API_HTTPS_PORT"), )