diff --git a/lib/index.js b/lib/index.js index 4765fc2..cc82fcb 100644 --- a/lib/index.js +++ b/lib/index.js @@ -27,7 +27,6 @@ module.exports = { { Key: `${path}${file.hash}${file.ext}`, Body: Buffer.from(file.buffer, 'binary'), - ACL: 'public-read', ContentType: file.mime, ...customParams, }, diff --git a/package.json b/package.json index 53d4629..ef1587c 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,23 @@ { - "name": "strapi-provider-upload-aws-s3-cdn", - "version": "0.0.1", - "description": "AWS S3 provider for strapi upload with cdn (cloudfront)", - "directories": { - "lib": "./lib" - }, - "main": "./lib", - "dependencies": { - "aws-sdk": "^2.758.0", - "lodash": "^4.17.20" - }, - "strapi": { - "isProvider": true - }, - "engines": { - "node": ">=10.10.0", - "npm": ">=6.0.0" - }, - "license": "MIT", - "scripts": { - "test": "echo \"no tests yet\"" - } - } \ No newline at end of file + "name": "strapi-provider-upload-aws-s3-cdn", + "version": "1.0.3", + "description": "", + "main": "lib/index.js", + "directories": { + "lib": "lib" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/VivekanandanS/strapi-provider-upload-aws-s3-cdn.git" + }, + "author": "vivekanandansakthivelu", + "license": "MIT", + "bugs": { + "url": "https://github.com/VivekanandanS/strapi-provider-upload-aws-s3-cdn/issues" + }, + "homepage": "https://github.com/VivekanandanS/strapi-provider-upload-aws-s3-cdn#readme" + +} \ No newline at end of file