2020-12-22 22:13:03 +08:00
|
|
|
|
VITE_PORT = 3100
|
|
|
|
|
|
2020-10-10 21:28:43 +08:00
|
|
|
|
# Whether to open mock
|
|
|
|
|
VITE_USE_MOCK = true
|
|
|
|
|
|
|
|
|
|
# public path
|
|
|
|
|
VITE_PUBLIC_PATH = /
|
|
|
|
|
|
2020-10-16 22:03:44 +08:00
|
|
|
|
# Cross-domain proxy, you can configure multiple
|
2020-11-12 00:06:12 +08:00
|
|
|
|
VITE_PROXY=[["/api","http://localhost:3000"],["/upload","http://localhost:3001/upload"]]
|
2020-10-28 23:00:03 +08:00
|
|
|
|
# VITE_PROXY=[["/api","https://vvbin.cn/test"]]
|
2020-10-16 22:03:44 +08:00
|
|
|
|
|
|
|
|
|
# Delete console
|
|
|
|
|
VITE_DROP_CONSOLE = false
|
|
|
|
|
|
2020-10-10 21:28:43 +08:00
|
|
|
|
# Basic interface address SPA
|
|
|
|
|
VITE_GLOB_API_URL=/api
|
|
|
|
|
|
2020-12-08 22:18:20 +08:00
|
|
|
|
# File upload address, optional
|
|
|
|
|
VITE_GLOB_UPLOAD_URL=/upload
|
|
|
|
|
|
2020-10-10 21:28:43 +08:00
|
|
|
|
# Interface prefix
|
|
|
|
|
VITE_GLOB_API_URL_PREFIX=
|