基础设施:增加前端直连上传文件到S3服务的功能

This commit is contained in:
owen
2024-02-04 19:41:48 +08:00
parent 64cfcbf6e0
commit 490bb901e1
12 changed files with 152 additions and 41 deletions

View File

@ -6,6 +6,8 @@ VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://api-dashboard.yudao.iocoder.cn'
# 文件上传类型server - 后端上传, client - 前端直连上传仅支持S3服务
VITE_UPLOAD_TYPE=server
# 上传路径
VITE_UPLOAD_URL='http://api-dashboard.yudao.iocoder.cn/admin-api/infra/file/upload'