14 lines
790 B
Bash
14 lines
790 B
Bash
VITE_API_BASE_URL=/api
|
|
# 按本机联调环境填写国内 Gateway origin,不提交真实环境地址。
|
|
API_PROXY_TARGET=http://localhost:9000
|
|
# 可选:本地分别直连 Auth、IAM、Warehouse;未设置时复用 API_PROXY_TARGET。
|
|
# AUTH_API_PROXY_TARGET=http://localhost:9001
|
|
# IAM_API_PROXY_TARGET=http://localhost:9002
|
|
# WAREHOUSE_API_PROXY_TARGET=http://localhost:9003
|
|
# 海外业务浏览器请求使用独立代理,代理会将 /overseas-api 重写为海外 Gateway 的 /api。
|
|
VITE_OVERSEAS_API_BASE_URL=/overseas-api
|
|
# 按本机联调环境填写海外 Gateway origin,不提交真实环境地址。
|
|
OVERSEAS_API_PROXY_TARGET=http://localhost:9300
|
|
# Local Vite fallback. Container deployments should use CLIENT_WEB_URL instead.
|
|
VITE_CLIENT_WEB_URL=http://localhost:5174
|