dev #9

Merged
Astrian merged 2 commits from dev into main 2025-05-30 01:46:27 +00:00
Showing only changes of commit 7a938bd58c - Show all commits

View File

@ -23,7 +23,17 @@ const emit = defineEmits<{
onMounted(async () => {
try {
await axios.head(props.item.song.sourceUrl ?? '')
//
await axios.head(props.item.song.sourceUrl ?? '', {
headers: {
'Cache-Control': 'no-cache, no-store, must-revalidate',
'Pragma': 'no-cache',
'Expires': '0'
},
params: {
_t: Date.now() //
}
})
} catch (error) {
//
const updatedSong = await apis.getSong(props.item.song.cid)