Skip to content

Commit

Permalink
유저 프로필 이미지 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HeeSung98 committed Dec 6, 2023
1 parent b9e94cd commit 9e7e9fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public void saveImage(String email, MultipartFile image) {
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMMddHHmmss");
String formattedNow = now.format(formatter);
String fileName = formattedNow + "_weatherfit_" + originalName;
String fileUrl = "https://" + bucket + ".s3.amazonaws.com/" + fileName;
String fileUrl = "https://" + bucket + ".s3.ap-northeast-2.amazonaws.com/" + fileName;

try {
if (!s3Client.doesObjectExist(bucket, fileName)) {
Expand Down

0 comments on commit 9e7e9fa

Please sign in to comment.