Netfan
2021-05-21 2d3d04f547046c23cdfc319a7483261b47c08e83
提交 | 用户 | age
bd7b53 1 VITE_PORT = 3100
V 2
e8aede 3 # Whether to open mock
B 4 VITE_USE_MOCK = true
5
6 # public path
7 VITE_PUBLIC_PATH = /
8
8a1bfd 9 # Cross-domain proxy, you can configure multiple
a89eee 10 # Please note that no line breaks
V 11 VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3001/upload"]]
34c09f 12 # VITE_PROXY=[["/api","https://vvbin.cn/test"]]
8a1bfd 13
V 14 # Delete console
15 VITE_DROP_CONSOLE = false
16
e8aede 17 # Basic interface address SPA
ed422b 18 VITE_GLOB_API_URL=/basic-api
e8aede 19
29461a 20 # File upload address, optional
V 21 VITE_GLOB_UPLOAD_URL=/upload
22
e8aede 23 # Interface prefix
B 24 VITE_GLOB_API_URL_PREFIX=