2020-10-10 21:28:43 +08:00
|
|
|
|
# Whether to open mock
|
2021-08-25 10:04:54 +08:00
|
|
|
|
VITE_USE_MOCK = false
|
2020-10-10 21:28:43 +08:00
|
|
|
|
|
|
|
|
|
# public path
|
|
|
|
|
VITE_PUBLIC_PATH = /
|
|
|
|
|
|
2020-10-16 22:03:44 +08:00
|
|
|
|
# Cross-domain proxy, you can configure multiple
|
2021-03-12 21:40:23 +08:00
|
|
|
|
# Please note that no line breaks
|
2021-06-05 22:29:33 +08:00
|
|
|
|
VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/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
|
2021-08-25 10:04:54 +08:00
|
|
|
|
VITE_GLOB_API_URL=http://localhost:10088/api
|
2020-10-10 21:28:43 +08:00
|
|
|
|
|
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=
|