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

(cherry picked from commit 490bb901e1)
This commit is contained in:
owen
2024-02-04 19:41:48 +08:00
committed by shizhong
parent 0cda4612a9
commit c26eb543e0
10 changed files with 136 additions and 29 deletions

View File

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