generated from 117503445/npm-package-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
建立 对象储存 Bucket
117503445 edited this page Nov 7, 2021
·
1 revision
只要兼容 S3 API 标准即可。大多数国内云厂商的对象储存都是兼容 S3 的,私有部署也可以选用 min.io。
下文以 阿里云 OSS 为例。
- 创建 Bucket,进行设置
- 获取到所需信息
- 设置跨域 把前端的host 加入到允许的列表中
允许 Headers: Cache-Control
暴露 Headers: Cache-Control