Alexandre Bodin 506811f198 Add some doc for maxFielSize
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-16 10:04:36 +02:00

971 B

strapi-provider-upload-local

Configurations

Your configuration is passed down to the cloudinary configuration. (e.g: cloudinary.config(config)). You can see the complete list of options here

Example

./extensions/upload/config/settings.json

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

The sizeLimit parameter must be a number. Be aware that the unit is in KB. 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

Resources