strapi-provider-cos
v0.0.2
Published
Strapi cms file upload provider for tencent cos
Downloads
3
Maintainers
Readme
strapi-provider-cos
在strapi中使用腾讯云cos对象存储
Installation
npm install strapi-provider-cos --save
Usage
module.exports = ({ env }) => {
return {
upload: {
config: {
provider: 'strapi-provider-cos',
providerOptions: {
secretId: env('COS_SECRET_ID'),
secretKey: env('COS_SECRET_KEY'),
appId: env('COS_APP_ID'),
region: env('COS_REGION'),
bucket: env('COS_BUCKET')
}
}
}
}
}