anzhiyu-c / hexo-theme-anzhiyu

安知鱼主题,这是一个简洁美丽的hexo主题。
GNU General Public License v3.0
1.02k stars 156 forks source link

[Bug]: 解决音乐进度条拖动跳回问题 #182

Open YL2209 opened 6 months ago

YL2209 commented 6 months ago

使用的 AnZhiYu 版本? | What version of AnZhiYu are you use?

1.6.12

使用的浏览器? || What browse are you using?

Chrome

是否修改过主题文件? || Has the theme files been modified?

是 (Yes)

使用的系统? || What operating system are you using?

Windows

问题描述 | Describe the bug

音乐进度条拖动偶尔出现跳回问题。

解决:在规则文件sw-rules.js中声明skipRequest,跳过 meting_api链接。 module.exports.skipRequest = request => request.url.startsWith("https://i0.hdslb.com") || request.url.startsWith('https://meting.qjqq.cn')

出现问题的网站 | Website

https://naokuo.top/posts/157b46af/