Compare commits

...

3 Commits

Author SHA1 Message Date
a3d82f12ec Merge pull request 'dev' (#9) from dev into main
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 51s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 52s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Successful in 36s
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Failing after 48s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Failing after 16m2s
Reviewed-on: #9
2025-05-30 01:46:26 +00:00
ab5f021bf8
fix: update version number to 0.0.5 in manifest.json
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m0s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 56s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-30 11:45:28 +10:00
7a938bd58c
fix: add cache control headers and timestamp parameter to axios HEAD request in PlayListItem.vue 2025-05-30 11:45:15 +10:00
2 changed files with 12 additions and 2 deletions

View File

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

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)