.env.production 530 B

1234567891011121314151617181920212223242526
  1. # 公共路径 vite base
  2. VITE_PUBLIC_PATH = /insomnia-cognition/
  3. # 路由模式 history | hash
  4. VITE_ROUTER_MODE = history
  5. # 是否开启mock
  6. VITE_USE_MOCK = true
  7. # 是否开启压缩
  8. VITE_USE_GZIP = true
  9. # 基本接口地址
  10. VITE_GLOB_API_URL=
  11. # 接口前缀
  12. VITE_GLOB_API_URL_PREFIX=/api
  13. # 文件上传地址
  14. VITE_GLOB_UPLOAD_URL=https://upload-z2.qiniup.com
  15. # 本地调试的代理配置
  16. VITE_PROXY = [["/api","http://localhost:3000"],["/upload","https://upload-z2.qiniup.com"]]
  17. # 删除日志
  18. VITE_DROP_CONSOLE = false