.env.example 869 B

12345678910111213141516171819
  1. # 静态资源 / 环境说明
  2. #
  3. # 主开关已迁至源码:config/env.js → APP_ENV = 'local' | 'test' | 'production'
  4. # 生产 API:https://w.shanxiachem.com/api
  5. # 生产静态:https://w.shanxiachem.com/shanxia-static/
  6. #
  7. # 以下变量为可选覆盖(Vite / HBuilderX);未配置时以 env.js 为准。
  8. #
  9. # VITE_STATIC_ASSETS_BASE_URL=https://w.shanxiachem.com/shanxia-static/
  10. # VUE_APP_STATIC_ASSETS_BASE_URL=https://w.shanxiachem.com/shanxia-static/
  11. #
  12. # VITE_STATIC_ASSETS_VERSION=20260706
  13. # VUE_APP_STATIC_ASSETS_VERSION=20260706
  14. #
  15. # API 应用层加密(当前 request.js 写死关闭;开启时须与后端一致)
  16. # VITE_ENABLE_API_CRYPTO=true
  17. # VITE_API_ENCRYPT_FAIL_OPEN=false
  18. # VITE_API_ENCRYPT_FIXED_SECRET=REPLACE_WITH_BACKEND_FIXED_SECRET
  19. # VITE_API_ENCRYPT_EXCLUDE_PATHS=/web/auth/login-rsa-public-key,/web/auth/login,/web/auth/refresh-token