.env.production 898 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Whether to open mock
  2. VITE_USE_MOCK = false
  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 = 'brotli,gzip'
  11. # Basic interface address SPA
  12. VITE_GLOB_API_URL=http://api.cqtd.games/admin
  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://api.cqtd.games/admin
  17. # VITE_GLOB_UPLOAD_URL=http://localhost:8888/admin/upload
  18. # Interface prefix
  19. VITE_GLOB_API_URL_PREFIX=
  20. # Whether to enable image compression
  21. VITE_USE_IMAGEMIN= true
  22. # use pwa
  23. VITE_USE_PWA = false
  24. # Is it compatible with older browsers
  25. VITE_LEGACY = false
  26. # imgurl prefix
  27. VITE_GLOB_IMG_URL_PREFIX=http://api.cqtd.games