Files
huayang/frontend/.env.production
T
2026-05-07 18:24:22 +08:00

7 lines
407 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 生产构建(宝塔等):默认站点在端口根路径;若网站在子目录,改为 /子目录名/
VITE_BASE_URL=/
# 与开发一致需要 Nginx 将 /admin-api 反代到 Java 等服务;否则可改为完整后端地址(需后端开 CORS)
VITE_ADMIN_API_BASE=/admin-api/api
# 生产环境需 Nginx 将 /site/ 反代到 Java(见 deploy/baota-nginx-snippet.conf)
VITE_SITE_API_BASE=/site