.env.development 771 B

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