连接更改

This commit is contained in:
XaoLi717 2024-08-29 09:48:11 +08:00
parent 468d974bf2
commit 94d6e47f38
3 changed files with 11 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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