.env.production 776 B

123456789101112131415161718192021222324252627282930313233
  1. # Whether to open mock
  2. VITE_USE_MOCK = true
  3. # public path
  4. VITE_PUBLIC_PATH = /
  5. # Delete console
  6. VITE_DROP_CONSOLE = true
  7. # Whether to enable gizp or brotli compression
  8. # Optional: gzip | brotli | none
  9. # If you need multiple forms, you can use `,` to separate
  10. VITE_BUILD_COMPRESS = 'none'
  11. # Basic interface address SPA
  12. # VITE_GLOB_API_URL=http://139.186.154.72:8888/
  13. VITE_GLOB_API_URL=http://localhost:8888/admin
  14. # File upload address, optional
  15. # It can be forwarded by nginx or write the actual address directly
  16. VITE_GLOB_UPLOAD_URL=http://localhost:8888/admin/upload
  17. # Interface prefix
  18. VITE_GLOB_API_URL_PREFIX=
  19. # Whether to enable image compression
  20. VITE_USE_IMAGEMIN= true
  21. # use pwa
  22. VITE_USE_PWA = false
  23. # Is it compatible with older browsers
  24. VITE_LEGACY = false