From 81bcc1907da75f6f9e456900c6ec36e1518485ea Mon Sep 17 00:00:00 2001 From: Xuwznln <18435084+Xuwznln@users.noreply.github.com> Date: Wed, 10 Sep 2025 20:14:33 +0800 Subject: [PATCH] fix: addr param --- unilabos/app/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unilabos/app/main.py b/unilabos/app/main.py index e0bf2cbe..c70787e1 100644 --- a/unilabos/app/main.py +++ b/unilabos/app/main.py @@ -228,7 +228,8 @@ def main(): elif args_dict["addr"] == "local": print_status("使用本地环境地址", "info") HTTPConfig.remote_addr = "http://127.0.0.1:48197/api/v1" - HTTPConfig.remote_addr = args_dict.get("addr", "") + else: + HTTPConfig.remote_addr = args_dict.get("addr", "") if args_dict["use_remote_resource"]: print_status("使用远程资源启动", "info")