Changeset f5bc95e for frontend/src/pages/SongDetail.tsx
- Timestamp:
- 02/12/26 22:27:24 (5 months ago)
- Branches:
- main
- Children:
- 85512ff
- Parents:
- d85e8e3
- File:
-
- 1 edited
-
frontend/src/pages/SongDetail.tsx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/pages/SongDetail.tsx
rd85e8e3 rf5bc95e 2 2 import { Link, useParams } from "react-router-dom"; 3 3 import { toast } from "react-toastify"; 4 import axiosInstance from "../api/axiosInstance";4 import axiosInstance, { baseURL } from "../api/axiosInstance"; 5 5 import { useAuth } from "../context/authContext"; 6 6 import { usePlayer } from "../context/playerContext"; … … 216 216 <div className="relative w-full pt-[100%] rounded-xl overflow-hidden shadow-2xl bg-[#181818]"> 217 217 <img 218 src={song.cover ||"/favicon.png"}218 src={song.cover ? `${baseURL}/${song.cover}` : "/favicon.png"} 219 219 alt={song.title} 220 220 className="absolute inset-0 w-full h-full object-cover"
Note:
See TracChangeset
for help on using the changeset viewer.
