Skip to content

Commit

Permalink
Fix : Spring 디렉토리에 convert 된 이미지 남는 것 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
nonaninona committed Jan 29, 2024
1 parent ae9da6f commit 29359f3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
Binary file removed 93d22d02-c450-450c-bea9-8d377adca9e8_img2.jpeg
Binary file not shown.
Binary file removed b7e56bde-35b6-4c69-a06f-1ff93037c253_img1.png
Binary file not shown.
2 changes: 2 additions & 0 deletions src/main/java/com/kuit/chatdiary/aws/S3Uploader.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public String upload(MultipartFile multipartFile, String dirName) throws IOExcep
File uploadFile = convert(multipartFile);

String uploadImageUrl = putS3(uploadFile, fileName);
uploadFile.delete();

return uploadImageUrl;
}

Expand Down

0 comments on commit 29359f3

Please sign in to comment.