Skip to content

Commit

Permalink
SB-39 (Fix) : 고정 URL로 변경
Browse files Browse the repository at this point in the history
SB-39 (Fix) : 고정 URL로 변경
  • Loading branch information
Jyuung committed Aug 18, 2024
1 parent 94ddeb7 commit b758e48
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,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("warehouse" + uploadDir + fileName)
.toUriString();
}
}
Expand Down

0 comments on commit b758e48

Please sign in to comment.