Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
fix: remove public ACL for putObject
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexShemeshWix committed Oct 12, 2020
1 parent cd602cb commit 5aca090
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ async function internalUploadFolder(
// https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#putObject-property
await s3
.putObject({
ACL: `public-read`,
Bucket: s3BucketName,
Key: relativeToBaseFilePathForS3,
Body: fileContent,
Expand Down

0 comments on commit 5aca090

Please sign in to comment.