.env.development 743 B

12345678910111213141516171819202122
  1. # 是否打开mock
  2. VITE_USE_MOCK = true
  3. # 发布路径
  4. VITE_PUBLIC_PATH = /
  5. # 跨域代理,您可以配置多个 ,请注意,没有换行符
  6. VITE_PROXY = [["/jeecgboot","http://10.0.0.34:8080/global-srm"],["/upload","http://10.0.0.34:8080/upload"],["/jeecgboot","http://106.15.206.14:8092/global-srm"]]
  7. #后台接口全路径地址(必填)
  8. # VITE_GLOB_DOMAIN_URL=http://10.0.0.34:8080/global-srm
  9. VITE_GLOB_DOMAIN_URL=http://106.15.206.14:8092/global-srm
  10. #后台接口父地址(必填)
  11. VITE_GLOB_API_URL=/jeecgboot
  12. # 接口前缀
  13. VITE_GLOB_API_URL_PREFIX=
  14. #微前端qiankun应用,命名必须以VITE_APP_SUB_开头,jeecg-app-1为子应用的项目名称,也是子应用的路由父路径
  15. VITE_APP_SUB_jeecg-app-1 = '//localhost:8092'