Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@mayupai/strapi-provider-upload-cos

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@mayupai/strapi-provider-upload-cos

Tencent cos provider for strapi file upload

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

strapi-provider-upload-cos

在strapi中使用腾讯云cos对象存储

Installation

npm install strapi-provider-upload-cos --save  

Usage

module.exports = ({ env }) => {
  return {
    upload: {
      config: {
        provider: 'upload-tencent-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')
        }
      }
    }
  }
}

Keywords

upload

FAQs

Package last updated on 29 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts