strapi-provider-upload-aws-s3-sharp-resize
Configurations
Your configuration is passed down to the provider. (e.g: new AWS.S3(config)
)
Example
./extensions/upload/config/settings.json
Run this in your controller to delete resources from s3 when related records are removed
/api/articles/controllers/articles.js
'use strict';const parseMultipartData sanitizeEntity = ; moduleexports = async { const id = ctxparams; const entity = await strapiservicesrestaurants; if entity if entityfeaturettelength > 0 entityfeaturette; return ; };
"# strapi-provider-upload-aws-s3-sharp-resize"