From e458f1eab4825acc9956e0b02077f803e3abcaf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=87=AF?= Date: Wed, 13 May 2026 22:29:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80=E5=A1=AB?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend-web/.env.example | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 frontend-web/.env.example diff --git a/frontend-web/.env.example b/frontend-web/.env.example new file mode 100644 index 00000000..06579a79 --- /dev/null +++ b/frontend-web/.env.example @@ -0,0 +1,6 @@ +# 复制为 .env 后按需修改(Vite 仅暴露以 VITE_ 开头的变量) +# 直连本机 Gateway 时使用;若浏览器报 CORS,请在网关环境设置 CORS_ORIGINS,包含前端源站,例如: +# CORS_ORIGINS=http://127.0.0.1:5173,http://localhost:5173 + +VITE_BACKEND_BASE_URL=http://127.0.0.1:8001 +VITE_LANGGRAPH_BASE_URL=http://127.0.0.1:8001/api