Skip to content

Commit

Permalink
fix : s3 update mosaicFileName
Browse files Browse the repository at this point in the history
  • Loading branch information
sycuuui committed May 21, 2024
1 parent 6d158e6 commit 2df2cf5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,10 @@ public String getContentType() {
return "video/mp4"; // 동영상의 MIME 타입을 video/mp4로 설정
}
};
String mosaicVideoName = videoReq.videoName().split(".")[0]+"_mosaic.mp4";
// S3에 파일 업데이트
s3Client.update(folderName + "/" + videoReq.videoName()+"_mosaic", multipartFile);
return VideoRes.of(folderName, videoReq.videoName()+"_mosaic", null);
s3Client.update(folderName + "/" + mosaicVideoName, multipartFile);
return VideoRes.of(folderName, mosaicVideoName, null);
}

//flask에 이미지, 동영상 보내기 test
Expand Down

0 comments on commit 2df2cf5

Please sign in to comment.