diff --git a/backend/routes/admin.js b/backend/routes/admin.js index 5068f68..6a1a60f 100644 --- a/backend/routes/admin.js +++ b/backend/routes/admin.js @@ -758,7 +758,7 @@ router.delete( } const photo = photos[0]; - const filename = photo.photo_url.split("/").pop(); + const filename = photo.original_url.split("/").pop(); const basePath = `album/${photo.folder_name}/photo`; // RustFS에서 삭제 (3가지 크기 모두) diff --git a/frontend/src/pages/pc/Discography.jsx b/frontend/src/pages/pc/Discography.jsx index 4ffdbe0..463b9d1 100644 --- a/frontend/src/pages/pc/Discography.jsx +++ b/frontend/src/pages/pc/Discography.jsx @@ -111,8 +111,8 @@ function Discography() { key={album.id} initial={{ opacity: 0, y: 30 }} animate={{ opacity: 1, y: 0 }} - transition={{ delay: index * 0.1 }} - className="group bg-white rounded-2xl overflow-hidden shadow-lg hover:shadow-2xl transition-all duration-300 cursor-pointer" + transition={{ delay: index * 0.1, duration: 0.3 }} + className="group bg-white rounded-2xl overflow-hidden shadow-lg hover:shadow-2xl transition-shadow duration-300 cursor-pointer" onClick={() => handleAlbumClick(album.title)} > {/* 앨범 커버 */} @@ -123,7 +123,7 @@ function Discography() { {album.title} {/* 호버 오버레이 */}