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