From 9d7d81c0ac789a2ec9685e6e7b622729b5c15a5d Mon Sep 17 00:00:00 2001 From: goulustis Date: Thu, 12 Feb 2026 16:46:28 +0800 Subject: [PATCH] show /api/ --- lang_agent/front_api/build_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang_agent/front_api/build_server.py b/lang_agent/front_api/build_server.py index 0bfedd0..6c7988a 100644 --- a/lang_agent/front_api/build_server.py +++ b/lang_agent/front_api/build_server.py @@ -33,7 +33,7 @@ def build_route(pipeline_id:str, env["FAST_AUTH_KEYS"] = fast_auth_keys sv_prc = subprocess.Popen(cmd, env=env) - return sv_prc, f"http://0.0.0.0:{port}" + return sv_prc, f"http://127.0.0.1:{port}/api/" def build_react(pipeline_id:str, @@ -62,7 +62,7 @@ def build_react(pipeline_id:str, env["FAST_AUTH_KEYS"] = fast_auth_keys sv_prc = subprocess.Popen(cmd, env=env) - return sv_prc, f"http://0.0.0.0:{port}" + return sv_prc, f"http://127.0.0.1:{port}/api/" # {pipeline_id: build_function} GRAPH_BUILD_FNCS = {