.env.development 2.0 KB

123456789101112131415161718192021222324252627282930313233
  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://10.10.150.72:9050"],["/modelreq", "http://182.92.126.35:9999"],["/webRtc", "http://192.168.183.216:8051"]]
  8. # VITE_PROXY = [["/jeecgsystem","http://10.10.150.72:9999"],["/upload","http://localhost:3300/upload"],["/documents", "http://10.10.150.72:9050"],["/modelreq", "http://10.10.150.72:9999"],["/webRtc", "http://192.168.183.216:8051"]]
  9. #VITE_PROXY = [["/jeecgsystem","http://192.168.1.8:9999"],["/upload","http://localhost:3300/upload"]]
  10. # 控制台不输出
  11. VITE_DROP_CONSOLE = false
  12. #后台接口父地址(必填)
  13. #VITE_GLOB_API_URL=/jeecgboot
  14. VITE_GLOB_API_URL=/modelreq
  15. #后台接口全路径地址(必填)
  16. # VITE_GLOB_DOMAIN_URL=http://10.10.150.72:9999
  17. VITE_GLOB_DOMAIN_URL=http://182.92.126.35:9999
  18. # VITE_GLOB_DOMAIN_URL=http://192.168.8.12:9999
  19. # 接口前缀
  20. VITE_GLOB_API_URL_PREFIX=
  21. #微前端qiankun应用,命名必须以VITE_APP_SUB_开头,jeecg-app-1为子应用的项目名称,也是子应用的路由父路径
  22. #VITE_APP_SUB_APP = [["micro-need-air", "//10.10.150.72:8099/"], ["micro-vent-3dModal", "//localhost:8091/"], ["micro-fire-front", "//localhost:8090/"]]
  23. VITE_APP_SUB_APP = [["micro-vent-3dModal", "//192.168.183.154:8091/", "micro-vent-3dModal"], ["micro-need-air", "//localhost:8099/", "micro-need-air"], ["micro-fire-front", "//localhost:8097/", "fire-Micro"]]
  24. # VITE_APP_SUB_APP = [["micro-vent-3dModal", "//localhost:8091/", "micro-vent-3dModal"], ["micro-need-air", "//localhost:8099/", "micro-need-air"], ["micro-fire-front", "//localhost:8097/", "fire-Micro"]]
  25. # VITE_APP_SUB_APP = [["micro-vent-3dModal", "//localhost:8091/"], ["micro-need-air", "//localhost:8099/"], ["micro-fire-front", "//localhost:8090/"]]