webman-buildadmin框架优化

This commit is contained in:
2026-03-18 19:21:10 +08:00
parent 16f84dce24
commit 9effe705b3
6 changed files with 29 additions and 19 deletions

View File

@@ -4,5 +4,8 @@ ENV = 'development'
# base路径
VITE_BASE_PATH = './'
# 本地环境接口地址 - 用空字符串走同源,由 vite 代理到 8787,避免 CORS
# 本地环境接口地址 - 用空字符串走同源,由 vite 代理到后端,避免 CORS
VITE_AXIOS_BASE_URL = ''
# 开发时代理目标地址(后端服务器地址,端口改为 6969 时在此配置)
VITE_PROXY_TARGET = http://localhost:6969