.env.development 1.5 KB

123456789101112131415161718192021222324252627282930
  1. # 是否打开mock
  2. VITE_USE_MOCK = true
  3. # 发布路径
  4. VITE_PUBLIC_PATH = /
  5. # 跨域代理,您可以配置多个 ,请注意,没有换行符
  6. #VITE_PROXY = [["/jeecgboot","http://localhost:8080/jeecg-boot"],["/upload","http://localhost:3300/upload"]]
  7. VITE_PROXY = [["/jeecgsystem","http://182.92.126.35:9999"],["/upload","http://localhost:3300/upload"],["/documents", "http://182.92.126.35:9050"],["/modelreq", "http://182.92.126.35:9999"],["/webRtc", "http://192.168.183.216:8051"]]
  8. #VITE_PROXY = [["/jeecgsystem","http://192.168.1.8:9999"],["/upload","http://localhost:3300/upload"]]
  9. # 控制台不输出
  10. VITE_DROP_CONSOLE = false
  11. #后台接口父地址(必填)
  12. #VITE_GLOB_API_URL=/jeecgboot
  13. VITE_GLOB_API_URL=/modelreq
  14. #后台接口全路径地址(必填)
  15. VITE_GLOB_DOMAIN_URL=http://182.92.126.35:9999
  16. #VITE_GLOB_DOMAIN_URL=http://192.168.1.8:9999
  17. # 接口前缀
  18. VITE_GLOB_API_URL_PREFIX=
  19. #微前端qiankun应用,命名必须以VITE_APP_SUB_开头,jeecg-app-1为子应用的项目名称,也是子应用的路由父路径
  20. #VITE_APP_SUB_APP = [["micro-need-air", "//182.92.126.35:8099/"], ["micro-vent-3dModal", "//localhost:8091/"], ["micro-fire-front", "//localhost:8090/"]]
  21. VITE_APP_SUB_APP = [["micro-vent-3dModal", "//localhost:8091/", "micro-vent-3dModal"], ["micro-need-air", "//localhost:8099/", "micro-need-air"], ["micro-fire-front", "//localhost:8090/", "fire-Micro"]]
  22. # VITE_APP_SUB_APP = [["micro-vent-3dModal", "//localhost:8091/"], ["micro-need-air", "//localhost:8099/"], ["micro-fire-front", "//localhost:8090/"]]