This commit is contained in:
Kana
2024-01-24 15:08:16 +09:00
parent e9f78f87f7
commit b8c98c61dd

View File

@@ -45,7 +45,7 @@ public class ImgService {
String newFileName = fileName; String newFileName = fileName;
// 저장될 파일 경로 설정 // 저장될 파일 경로 설정
String filePath = storePathString + File.separator + newFileName + "." + fileExt; String filePath = storePathString + File.separator + newFileName + ".jpg";//+ fileExt;
try { try {
// 동일한 파일명이 존재하는지 확인하고 있다면 기존 파일 삭제 // 동일한 파일명이 존재하는지 확인하고 있다면 기존 파일 삭제