feat: 区分开发和生产环境配置并完善加载与回归测试

This commit is contained in:
zhanjunhao
2026-10-27 15:55:20 +08:00
parent 7ba07f8696
commit a44590a6ab
9 changed files with 271 additions and 113 deletions
+12
View File
@@ -0,0 +1,12 @@
# Loaded by npm run dev. Override locally in .env.development.local.
# Public configuration only; VITE_* values are exposed to the browser.
VITE_REACT_APP_SERVER_URL=
VITE_CLOUD_BRAIN_UI_ENABLED=false
# Vite development proxy only. Keep the browser URL empty to use this proxy.
DEV_PROXY_TARGET=http://134.175.227.134:13000
# Optional analytics. Empty IDs disable script injection.
VITE_UMAMI_WEBSITE_ID=
VITE_UMAMI_SCRIPT_URL=https://analytics.umami.is/script.js
VITE_GOOGLE_ANALYTICS_ID=