Skip to content

Commit

Permalink
#16 [Update] image url 바로 접근 가능하도록 host명 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna-Jin committed Jul 11, 2022
1 parent 7fd832c commit 9cdc9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/mpnp/baechelin/util/AwsS3Manager.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public List<String> uploadFile(List<MultipartFile> multipartFile) {
throw new ResponseStatusException(HttpStatus.INTERNAL_SERVER_ERROR, "파일 업로드에 실패했습니다.");
}

fileNameList.add(fileName);
fileNameList.add(String.format("https://%s.s3.amazonaws.com/%s", bucket, fileName));
});

return fileNameList;
Expand Down

0 comments on commit 9cdc9a6

Please sign in to comment.