System Information
- Strapi Version: v4.0.0
- Operating System: Mac OS X
- Database: SQL Lite
- Node Version: v14.15.0
- NPM Version: 6.14.8
- Yarn Version: v1.22.17
I have started a new project using Strapi v4.0.0.
Installed “@strapi/provider-upload-cloudinary”: “^4.0.0” Cloudinary upload provider.
Created a plugins.js file at ./config/plugins.js with the below content to enable the provider.
module.exports = ({ env }) => ({
// ...
upload: {
provider: 'cloudinary',
providerOptions: {
cloud_name: env('CLOUDINARY_NAME'),
api_key: env('CLOUDINARY_KEY'),
api_secret: env('CLOUDINARY_SECRET'),
},
actionOptions: {
upload: {},
delete: {},
},
},
// ...
});
After accessing the admin UI, as I try to upload the files. Files are getting uploaded into ./public/uploads/ folder rather than uploading to Cloudinary storage service.
I have tried passing env variables like example: CLOUDINARY_NAME=xxxxxxxxx yarn run develop
Also tried with using .env file.