.env.development 548 B

1234567891011121314151617181920212223
  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. # VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]]
  8. VITE_PROXY=[["/api","http://localhost:9098"]]
  9. # Delete console
  10. VITE_DROP_CONSOLE = false
  11. # Basic interface address SPA
  12. # VITE_GLOB_API_URL=/basic-api
  13. VITE_GLOB_API_URL=/api
  14. # File upload address, optional
  15. VITE_GLOB_UPLOAD_URL=/upload
  16. # Interface prefix
  17. VITE_GLOB_API_URL_PREFIX=