Skip to content

Commit

Permalink
SB-288 (Fix) : 이미지 URL 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyuung committed Sep 3, 2024
1 parent 37065d6 commit 7ae8728
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,8 @@ public ImageInfo(ImageRequest request, String uploadDir) {
this.extension = ImageUtils.subStringExtension(
Objects.requireNonNull(this.originalFileName));
this.fileName = StringUtils.cleanPath(this.serverName + this.extension);
this.imageUrl = ServletUriComponentsBuilder.fromCurrentContextPath()
.scheme("https")
.path(uploadDir + fileName)
this.imageUrl = ServletUriComponentsBuilder.fromHttpUrl("https://baobab.run")
.path("image" + uploadDir + fileName)
.toUriString();
}
}
Expand Down

0 comments on commit 7ae8728

Please sign in to comment.