Skip to content

Commit

Permalink
fix: resolve env reference
Browse files Browse the repository at this point in the history
  • Loading branch information
astorverse committed Sep 25, 2024
1 parent 6dec03a commit 38e9eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/aws/aws.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class AwsService {
) {
try {
const resizedImageBuffer = await this.resizeImage(file.buffer, resize);
const key = `${this.configService.get('S3_KEY')}/${fileName}`;
const key = `${this.configService.get('S3_TAG')}/${fileName}`;
// AWS S3에 이미지 업로드 명령을 생성합니다. 파일 이름, 파일 버퍼, 파일 접근 권한, 파일 타입 등을 설정합니다.
const command = new PutObjectCommand({
Bucket: this.configService.get('AWS_S3_BUCKET_NAME'), // S3 버킷 이름
Expand Down

0 comments on commit 38e9eae

Please sign in to comment.