5 lines
317 B
Bash
5 lines
317 B
Bash
# build(mode=production)不读 .env.development——此前 dist 产物内 VITE_API_BASE_URL
|
|
# 为 undefined,axios 请求缺 /api/v1 前缀,S3 web 镜像内前端 API 实为断链(冒烟 curl
|
|
# 直打 /api 反代未暴露)。2026-11-15 补齐:产物走容器/网关 nginx 的 /api 反代。
|
|
VITE_API_BASE_URL=/api/v1
|