.env.development 630 B

123456789101112131415161718192021222324
  1. # Whether to open mock
  2. VITE_USE_MOCK = true
  3. # public path
  4. VITE_PUBLIC_PATH = /
  5. # Cross-domain proxy, you can configure multiple
  6. # Please note that no line breaks
  7. # http://192.168.0.38:8190/shop
  8. VITE_PROXY = [["/basic-api","http://192.168.0.47:8190"],["/upload","http://localhost:3300/upload"],["/zfb-api","http://192.168.0.47:7081"]]
  9. #["/zfb-api","http://192.168.0.47:7081"]]
  10. # VITE_PROXY=[["/api","https://vvbin.cn/test"]]
  11. # Delete console
  12. VITE_DROP_CONSOLE = false
  13. # Basic interface address SPA
  14. VITE_GLOB_API_URL=
  15. # File upload address, optional
  16. VITE_GLOB_UPLOAD_URL=/upload
  17. # Interface prefix
  18. VITE_GLOB_API_URL_PREFIX=