strapi-provider-upload-uploadcare

0.3.0 • Public • Published

strapi-provider-upload-uploadcare

Configurations

Your configuration is passed down to the uploadcare configuration. (e.g: UploadClient({})). You can see the complete list of options here

See the using a provider documentation for information on installing and using a provider. And see the environment variables for setting and using environment variables in your configs.

Example

./config/plugins.js

module.exports = ({ env }) => ({
  // ...
  upload: {
    provider: 'uploadcare',
    providerOptions: {
      public_key: env('UPLOADCARE_PUBLIC_KEY'),
      // secret_key: env('UPLOADCARE_SECRET_KEY'),
      // base_cdn: env('UPLOADCARE_BASE_CDN'),
    },
  },
  // ...
});

https://github.com/uploadcare/uploadcare-upload-client#settings

public_key: string The main use of a public_key is to identify a target project for your uploads. It is required when using Upload API.

base_cdn: string Defines your schema and CDN domain. Can be changed to one of the predefined values (https://ucarecdn.com/) or your custom CNAME.

Defaults to https://ucarecdn.com/.

Resources

Package Sidebar

Install

npm i strapi-provider-upload-uploadcare

Weekly Downloads

2

Version

0.3.0

License

SEE LICENSE IN LICENSE

Unpacked Size

23.7 kB

Total Files

12

Last publish

Collaborators

  • amond