diff --git a/93d22d02-c450-450c-bea9-8d377adca9e8_img2.jpeg b/93d22d02-c450-450c-bea9-8d377adca9e8_img2.jpeg deleted file mode 100644 index 146dc473..00000000 Binary files a/93d22d02-c450-450c-bea9-8d377adca9e8_img2.jpeg and /dev/null differ diff --git a/b7e56bde-35b6-4c69-a06f-1ff93037c253_img1.png b/b7e56bde-35b6-4c69-a06f-1ff93037c253_img1.png deleted file mode 100644 index 99ecd978..00000000 Binary files a/b7e56bde-35b6-4c69-a06f-1ff93037c253_img1.png and /dev/null differ diff --git a/src/main/java/com/kuit/chatdiary/aws/S3Uploader.java b/src/main/java/com/kuit/chatdiary/aws/S3Uploader.java index 0d502c0a..59ee8d7d 100644 --- a/src/main/java/com/kuit/chatdiary/aws/S3Uploader.java +++ b/src/main/java/com/kuit/chatdiary/aws/S3Uploader.java @@ -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; }