.env.development 541 B

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