picgo-plugin-obs
v1.0.7
Published
支持将图片上传到华为云对象存储,并作为图床使用
Maintainers
Readme
picgo-plugin-obs
支持将图片上传到华为云对象存储,并作为图床使用
安装
npm install picgo-plugin-obs -g配置
在 picgo 的配置文件中添加 obs 配置
{
"picBed": {
"current": "obs",
"uploader": "obs",
"obs": {
"accessKeyId": "your-access-key-id",
"accessKeySecret": "your-access-key-secret",
"bucketName": "your-bucket-name",
"endpoint": "your-endpoint",
"path": "your-path",
"imageProcess": "your-image-process",
"customDomain": "your-custom-domain",
"cacheControl": "your-cache-control"
}
}
}