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

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

No files matched your search

+2
View File
@@ -7,6 +7,8 @@ VITE_DEV=true
VITE_BASE_URL='http://api-dashboard.yudao.iocoder.cn'
# VITE_BASE_URL='http://dofast.demo.huizhizao.vip:20001'
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
VITE_UPLOAD_TYPE=server
# 上传路径
VITE_UPLOAD_URL='http://api-dashboard.yudao.iocoder.cn/admin-api/infra/file/upload'