|
|
# 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=[["/api","http://60.209.125.238:3008"],["/stage-api","https://www.666cxf.com/stage-api"]] # 开发 测试环境
|
|
|
|
|
|
|
|
|
# Delete console
|
|
|
VITE_DROP_CONSOLE = false
|
|
|
|
|
|
# 后台接口父地址(必填)
|
|
|
# VITE_GLOB_API_URL=http://localhost:3008
|
|
|
VITE_GLOB_API_URL="/api" # 开发 测试环境
|
|
|
|
|
|
# File upload address, optional
|
|
|
#VITE_GLOB_UPLOAD_URL=http://localhost:8091/api/Common/UploadFile
|
|
|
VITE_GLOB_UPLOAD_URL=http://localhost:9991/api/VW_INFO_FILES/CommonUpload
|
|
|
|
|
|
# Interface prefix
|
|
|
VITE_GLOB_API_URL_PREFIX=
|
|
|
|
|
|
|
|
|
|
|
|
# 预览地址
|
|
|
VITE_GLOB_VIEW_URL=http://localhost:9991/
|