Skip to content

Commit

Permalink
fix: 이미지 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Choi-JJunho committed Nov 22, 2023
1 parent ffbb49d commit 75e0acf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private String uploadPhoto(MultipartFile multipartFile, String workingDirectory)
File uploadPath = new File(uploadDirectory, fileName);
uploadFileInLocal(multipartFile, uploadPath);

return webPath + SLASH + uploadDirectory + SLASH + fileName;
return webPath + SLASH + workingDirectory + SLASH + fileName;
} catch (Exception e) {
throw new IllegalStateException("파일 업로드를 실패했습니다.");
}
Expand Down

0 comments on commit 75e0acf

Please sign in to comment.