Skip to content

Commit

Permalink
fix : recordImg에 저장되는 링크 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yel-m committed May 22, 2024
1 parent d9c5f53 commit c62e570
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public String uploadFile(MultipartFile multipartFile){
throw new GeneralException(Code.INTERNAL_ERROR, "파일 업로드에 실패했습니다.");
}

return fileName;
return "https://" + bucket + ".s3.ap-northeast-2.amazonaws.com/" + fileName;
}

// 먼저 파일 업로드시, 파일명을 난수화하기 위해 UUID 를 활용하여 난수를 돌린다.
Expand Down

0 comments on commit c62e570

Please sign in to comment.