From 2292615a3b998d50141e7f7c59f7b2de051be75f Mon Sep 17 00:00:00 2001 From: mapleaf Date: Sat, 4 Oct 2025 17:43:29 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E3=80=90web-antd=E3=80=91=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E6=9B=B4=E6=96=B0=E5=90=8E=E7=AB=AF=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E4=B8=BA=20111.3.47.177?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/.env.development | 2 +- apps/web-antd/vite.config.mts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web-antd/.env.development b/apps/web-antd/.env.development index cff25576..855dcbc5 100644 --- a/apps/web-antd/.env.development +++ b/apps/web-antd/.env.development @@ -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服务 diff --git a/apps/web-antd/vite.config.mts b/apps/web-antd/vite.config.mts index 71ae65bb..e845de36 100644 --- a/apps/web-antd/vite.config.mts +++ b/apps/web-antd/vite.config.mts @@ -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, }, },