diff --git a/src/main/java/io/company/localhost/service/FileService.java b/src/main/java/io/company/localhost/service/FileService.java index d1662c6..13a7fdc 100644 --- a/src/main/java/io/company/localhost/service/FileService.java +++ b/src/main/java/io/company/localhost/service/FileService.java @@ -50,7 +50,7 @@ public class FileService { // UUID를 사용하여 고유한 파일명 생성 String newFilename = UUID.randomUUID().toString() + "." + extension; - // 최종 저장 경로 생성 (기본경로 + 하위디렉토리 + 파일명) + // 최종 저장 경로 생성 (기본경로 + 파일명) Path targetPath = Paths.get(uploadPath, newFilename); // 저장될 디렉토리가 없는 경우 생성 Files.createDirectories(targetPath.getParent());