Skip to content

Commit

Permalink
✨ FEAT. S3 InputStream 저장 시 확장자명 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaa committed May 7, 2024
1 parent d728969 commit 6aec712
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public String uploadJpegImageFromUrl(String keyName, String imageUrl) {
log.error("error at AmazonS3Manager uploadFile : {}", (Object)e.getStackTrace());
throw new GeneralException(ErrorStatus._S3_FILE_UPLOAD_ERROR);
}
return amazonS3.getUrl(amazonConfig.getBucket(), keyName).toString();
return amazonS3.getUrl(amazonConfig.getBucket(), keyName + ".jpeg").toString();
}

public String generateS3SavePath(String path) {
Expand Down

0 comments on commit 6aec712

Please sign in to comment.