Skip to content

Commit

Permalink
fix(aws): delete acl access
Browse files Browse the repository at this point in the history
  • Loading branch information
astorverse committed Jul 16, 2024
1 parent 6cd362c commit 7c4bf9c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/modules/aws/aws.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export class AwsService {
Bucket: this.configService.get('AWS_S3_BUCKET_NAME'), // S3 버킷 이름
Key: fileName, // 업로드될 파일의 이름
Body: resizedImageBuffer, // 업로드할 파일
ACL: 'public-read', // 파일 접근 권한
ContentType: `image/${ext}`, // 파일 타입,
});
await this.s3Client.send(command);
Expand Down Expand Up @@ -67,7 +66,6 @@ export class AwsService {
Bucket: this.configService.get('AWS_S3_BUCKET_NAME'), // S3 버킷 이름
Key: fileName, // 업로드될 파일의 이름
Body: resizedImageBuffer, // 업로드할 파일
ACL: 'public-read', // 파일 접근 권한
ContentType: `image/${ext}`, // 파일 타입
});

Expand Down

0 comments on commit 7c4bf9c

Please sign in to comment.