How to set Cloudinary upload option

System Information
  • Strapi Version: 3.3.3

Hi there,

I am using the official cloudinary plugin for Strapi.

I would like to save all my photos in a specific folder on Cloudinary, however I am not so sure how to do it with Strapi.

Looking at the code, it seems that it is intended to take configuration options:

 return {
      upload(file, customConfig = {}) {
        return new Promise((resolve, reject) => {
          const upload_stream = cloudinary.uploader.upload_stream(
            { resource_type: 'auto', public_id: file.hash, ...customConfig },

How can I pass costum Configuration to the upload function?

Thank you!