Compare commits

..

No commits in common. "ab5f021bf844b9e4280887b7b6cdfc3dd800d17b" and "290a9af5e1e03507576a8ea7fbbbac5af510ca1f" have entirely different histories.

2 changed files with 2 additions and 12 deletions

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 3, "manifest_version": 3,
"name": "MSR Mod", "name": "MSR Mod",
"version": "0.0.5", "version": "0.0.4",
"description": "塞壬唱片Monster Siren Records官网的替代前端。", "description": "塞壬唱片Monster Siren Records官网的替代前端。",
"content_scripts": [ "content_scripts": [
{ {

View File

@ -23,17 +23,7 @@ const emit = defineEmits<{
onMounted(async () => { onMounted(async () => {
try { 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) { } catch (error) {
// //
const updatedSong = await apis.getSong(props.item.song.cid) const updatedSong = await apis.getSong(props.item.song.cid)