fix:【web-antd】调整开发环境配置,更新后端服务地址为 111.3.47.177

This commit is contained in:
2025-10-04 17:43:29 +08:00
parent 1bf4238609
commit 2292615a3b
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ VITE_PORT=5666
VITE_BASE=/
# 请求路径
VITE_BASE_URL=http://127.0.0.1:48080
0VITE_BASE_URL=http://111.3.47.177:48080
# 接口地址
VITE_GLOB_API_URL=/admin-api
# 文件上传类型server - 后端上传, client - 前端直连上传仅支持S3服务

View File

@@ -10,7 +10,7 @@ export default defineConfig(async () => {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/admin-api/, ''),
// mock代理目标地址
target: 'http://localhost:48080/admin-api',
target: 'http://111.3.47.177:48080/admin-api',
ws: true,
},
},