forked from gitee/vben-app
25 lines
578 B
Bash
25 lines
578 B
Bash
# 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=[["/upload","http://localhost:5000/gen/att/up"]]
|
||
|
||
# Delete console
|
||
VITE_DROP_CONSOLE = false
|
||
|
||
# Basic interface address SPA
|
||
#VITE_GLOB_API_URL=/basic-api
|
||
VITE_GLOB_API_URL=http://localhost:5000
|
||
|
||
|
||
# File upload address, optional
|
||
VITE_GLOB_UPLOAD_URL=/upload
|
||
|
||
# Interface prefix
|
||
VITE_GLOB_API_URL_PREFIX=
|