-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
status: duplicateIs a duplicate of another issueIs a duplicate of another issue
Description
These two libs are very good:
https://www.npmjs.com/package/strapi-provider-upload-cloudinary
https://www.npmjs.com/package/strapi-provider-upload-aws-s3
But don't offers the option for upload the assets for a specific folder.
This becomes really complicated when you want download all assets from root directory, specially in Cloudinary.
In the other hands, is too much easy download a folder with all assets inside.
NEW FEATURES:
1) Cloudinary
module.exports = ({ env }) => ({
// ...
upload: {
provider: 'cloudinary',
providerOptions: {
cloud_name: env('CLOUDINARY_NAME'),
folder_name: env('CLOUDINARY_FOLDER'), // <---- new option
api_key: env('CLOUDINARY_KEY'),
api_secret: env('CLOUDINARY_SECRET'),
},
},
// ...
});2) AWS
module.exports = ({ env }) => ({
// ...
upload: {
provider: 'aws-s3',
providerOptions: {
accessKeyId: env('AWS_ACCESS_KEY_ID'),
secretAccessKey: env('AWS_ACCESS_SECRET'),
region: env('AWS_REGION'),
params: {
Bucket: env('AWS_BUCKET'),
Folder: env('AWS_FOLDER'), // <----- new option
},
},
},
// ...
});Metadata
Metadata
Assignees
Labels
status: duplicateIs a duplicate of another issueIs a duplicate of another issue