.env.development 487 B

1234567891011121314151617181920212223
  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_GLOB_API_URL=
  9. # 接口前缀
  10. VITE_GLOB_API_URL_PREFIX=/api
  11. # 文件上传地址
  12. VITE_GLOB_UPLOAD_URL=https://upload-z2.qiniup.com
  13. # 本地调试的代理配置
  14. VITE_PROXY = [["/api","http://localhost:3000"],["/upload","https://upload-z2.qiniup.com"]]
  15. # 删除日志
  16. VITE_DROP_CONSOLE = false