.env.test 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ###
  2. # @Author: sjl
  3. # @Date: 2023-05-07 20:15:53
  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. # File upload address, optional
  22. # It can be forwarded by nginx or write the actual address directly
  23. VITE_GLOB_UPLOAD_URL=/upload
  24. # Interface prefix
  25. VITE_GLOB_API_URL_PREFIX=
  26. # Whether to enable image compression
  27. VITE_USE_IMAGEMIN= true
  28. # use pwa
  29. VITE_USE_PWA = false
  30. # Is it compatible with older browsers
  31. VITE_LEGACY = false
  32. #大屏链接地址
  33. VITE_GLOB_BIG_SCREEN = http://182.139.38.101:20045
  34. #理工项目子页面链接
  35. VITE_GLOB_LIGONG_ADMIN = http://182.139.38.101:20010