From e0ca7bfb602936ee10110ce55349248a2f603618 Mon Sep 17 00:00:00 2001 From: ycy <2861518472@qq.com> Date: Wed, 22 May 2024 14:53:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20init:=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 2 +- .env.prod | 2 +- src/config/axios/config.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.env.dev b/.env.dev index 232f1c6..7a447d9 100644 --- a/.env.dev +++ b/.env.dev @@ -4,7 +4,7 @@ NODE_ENV=production VITE_DEV=true # 请求路径 -VITE_BASE_URL='http://api-dashboard.yudao.iocoder.cn' +VITE_BASE_URL='http://192.168.1.14:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server diff --git a/.env.prod b/.env.prod index 842ba61..469b0f2 100644 --- a/.env.prod +++ b/.env.prod @@ -4,7 +4,7 @@ NODE_ENV=production VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://localhost:48080' +VITE_BASE_URL='http://192.168.1.14:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server diff --git a/src/config/axios/config.ts b/src/config/axios/config.ts index 8116508..a35fb2a 100644 --- a/src/config/axios/config.ts +++ b/src/config/axios/config.ts @@ -24,5 +24,4 @@ const config: { */ default_headers: 'application/json' } - export { config }