.env.test 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ###
  2. # @Author: sjl
  3. # @Date: 2023-05-07 20:34:09
  4. # @Descripttion:
  5. ###
  6. NODE_ENV=production
  7. # Whether to open mock
  8. VITE_USE_MOCK = true
  9. # public path
  10. VITE_PUBLIC_PATH = /
  11. # Delete console
  12. VITE_DROP_CONSOLE = true
  13. # Whether to enable gzip or brotli compression
  14. # Optional: gzip | brotli | none
  15. # If you need multiple forms, you can use `,` to separate
  16. VITE_BUILD_COMPRESS = 'none'
  17. # Whether to delete origin files when using compress, default false
  18. VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
  19. # Basic interface address SPA
  20. VITE_GLOB_API_URL=/basic-api
  21. #理工api
  22. VITE_GLOB_LIGONG_API="/ligongApi"
  23. #调试
  24. VITE_GLOB_DEBUGGER_API="/debuggerApi"
  25. # File upload address, optional
  26. # It can be forwarded by nginx or write the actual address directly
  27. VITE_GLOB_UPLOAD_URL=/upload
  28. # Interface prefix
  29. VITE_GLOB_API_URL_PREFIX=
  30. # Whether to enable image compression
  31. VITE_USE_IMAGEMIN= true
  32. # use pwa
  33. VITE_USE_PWA = false
  34. # Is it compatible with older browsers
  35. VITE_LEGACY = false
  36. #后台地址
  37. VITE_GLOB_BASE_ADMIN = http://localhost:8083
  38. #监测曲线地址
  39. VITE_GLOB_LIGONG_ADMIN = http://182.139.38.101:20010/wlw/monitor/chart
  40. #设置图片地址
  41. VITE_GLOB_BASE_IMG = http://183.222.190.95:8001
  42. #自动更新数据时间update
  43. VITE_GLOB_UPDATE_TIME = 5000