Skip to content

Commit

Permalink
fix : logging
Browse files Browse the repository at this point in the history
  • Loading branch information
NameIsUser06 committed Jan 4, 2024
1 parent 1812a00 commit d8c992a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public String save(MultipartFile file) {
Paths.get(fileName)
.normalize());
System.out.println(path);
Files.createFile(path);
Files.copy(file.getInputStream(), path, StandardCopyOption.REPLACE_EXISTING);
System.out.println("success");
return String.format("%s/%s", rootPath, fileName);
Expand Down

0 comments on commit d8c992a

Please sign in to comment.