1234567891011121314151617181920212223 |
- # Whether to open mock
- VITE_USE_MOCK = true
- # public path
- VITE_PUBLIC_PATH = /
- # Cross-domain proxy, you can configure multiple
- # Please note that no line breaks
- # VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]]
- VITE_PROXY=[["/api","http://localhost:9098"]]
- # Delete console
- VITE_DROP_CONSOLE = false
- # Basic interface address SPA
- # VITE_GLOB_API_URL=/basic-api
- VITE_GLOB_API_URL=/api
- # File upload address, optional
- VITE_GLOB_UPLOAD_URL=/upload
- # Interface prefix
- VITE_GLOB_API_URL_PREFIX=
|