From 94d6e47f38d3f954432736fa0f05ae649e39268a Mon Sep 17 00:00:00 2001 From: XaoLi717 <144221124+XaoLi717@users.noreply.github.com> Date: Thu, 29 Aug 2024 09:48:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 6 +++--- .env.prod | 6 ++++-- .env.test | 6 ++++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.env.dev b/.env.dev index 105e3ac..a376fff 100644 --- a/.env.dev +++ b/.env.dev @@ -4,14 +4,14 @@ NODE_ENV=production VITE_DEV=true # 请求路径 -# VITE_BASE_URL='http://api-dashboard.yudao.iocoder.cn' -VITE_BASE_URL='http://140.143.164.40:48080' +VITE_BASE_URL='http://api-dashboard.yudao.iocoder.cn' +# VITE_BASE_URL='http://140.143.164.40:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server # 上传路径 VITE_UPLOAD_URL='http://api-dashboard.yudao.iocoder.cn/admin-api/infra/file/upload' -VITE_UPLOAD_URL='http://140.143.164.40:48080/admin-api/infra/file/upload' +# VITE_UPLOAD_URL='http://140.143.164.40:48080/admin-api/infra/file/upload' # 接口地址 VITE_API_URL=/admin-api diff --git a/.env.prod b/.env.prod index 964080c..93f9f4f 100644 --- a/.env.prod +++ b/.env.prod @@ -4,12 +4,14 @@ NODE_ENV=production VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://140.143.164.40:48080' +VITE_BASE_URL='http://localhost:48080' +# VITE_BASE_URL='http://140.143.164.40:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server # 上传路径 -VITE_UPLOAD_URL='http://140.143.164.40:48080/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload' +# VITE_UPLOAD_URL='http://140.143.164.40:48080/admin-api/infra/file/upload' # 接口地址 VITE_API_URL=/admin-api diff --git a/.env.test b/.env.test index aa16d14..8e7c022 100644 --- a/.env.test +++ b/.env.test @@ -4,12 +4,14 @@ NODE_ENV=production VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://140.143.164.40:48080' +VITE_BASE_URL='http://localhost:48080' +# VITE_BASE_URL='http://140.143.164.40:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server # 上传路径 -VITE_UPLOAD_URL='http://140.143.164.40:48080/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload' +# VITE_UPLOAD_URL='http://140.143.164.40:48080/admin-api/infra/file/upload' # 接口地址 VITE_API_URL=/admin-api