build(vite.config.ts): 📦 代理接口地址通过env配置文件修改
This commit is contained in:
@@ -6,3 +6,8 @@ VITE_APP_PORT = 3000
|
||||
|
||||
# 代理前缀
|
||||
VITE_APP_BASE_API = '/dev-api'
|
||||
|
||||
# 线上接口地址
|
||||
VITE_APP_API_URL = http://vapi.youlai.tech
|
||||
# 开发接口地址
|
||||
# VITE_APP_API_URL = http://localhost:8989
|
||||
|
||||
Reference in New Issue
Block a user