diff --git a/frontend/.env.production b/frontend/.env.production index 0d91233..7d536cd 100644 --- a/frontend/.env.production +++ b/frontend/.env.production @@ -1,2 +1,3 @@ # API Base URL (Production) -VITE_API_BASE_URL=/api +# 留空,让 API 请求使用相对路径(由 Nginx 转发) +VITE_API_BASE_URL=