123456789101112131415161718192021222324 |
- VITE_PORT = 3200
- # Whether to open mock
- VITE_USE_MOCK = false
- # public path
- VITE_PUBLIC_PATH = /
- # Cross-domain proxy, you can configure multiple
- # Please note that no line breaks
- VITE_PROXY = [["/api","http://pmqa.smartcost.com.cn/api"], ["/upload", "http://localhost:7070/api/upload"]]
- # VITE_PROXY=[["/api","https://vvbin.cn/test"]]
- # Delete console
- VITE_DROP_CONSOLE = false
- # Basic interface address SPA
- VITE_GLOB_API_URL=
- # File upload address, optional
- VITE_GLOB_UPLOAD_URL=/upload
- # Interface prefix
- VITE_GLOB_API_URL_PREFIX=/api
|