.env.development 520 B

12345678910111213141516171819202122
  1. # Whether to open mock
  2. VITE_USE_MOCK = false
  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:3001/upload"]]
  8. VITE_PROXY=[["/api","http://www.yy2.me"]]
  9. # Delete console
  10. VITE_DROP_CONSOLE = false
  11. # Basic interface address SPA
  12. VITE_GLOB_API_URL=/api
  13. # File upload address, optional
  14. VITE_GLOB_UPLOAD_URL=/upload
  15. # Interface prefix
  16. VITE_GLOB_API_URL_PREFIX=/admin