@evokedev/strapi-provider-upload-local-autoresize

3.1.4 • Public • Published

strapi-provider-upload-autoresize

Configurations

This provider has only one parameter: sizeLimit.

Example

./extensions/upload/config/settings.json

{
  "provider": "local",
  "providerOptions": {
    "sizeLimit": 100000
  }
}

The sizeLimit parameter must be a number. Be aware that the unit is in bytes, and the default is 1000000. When setting this value high, you should make sure to also configure the body parser middleware maxFileSize so the file can be sent and processed. Read more here

Links

Readme

Keywords

Package Sidebar

Install

npm i @evokedev/strapi-provider-upload-local-autoresize

Weekly Downloads

0

Version

3.1.4

License

ISC

Unpacked Size

3.95 kB

Total Files

3

Last publish

Collaborators

  • _joaocampos