mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-17 01:56:16 -08:00
update sw.js
This commit is contained in:
1 parent
0aeb1262db
commit
89a3b02ff5
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -92,7 +92,7 @@
|
||||
<script>
|
||||
if (!isLocalhost && 'serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function () {
|
||||
navigator.serviceWorker.register('./sw.js');
|
||||
navigator.serviceWorker.register(`./sw.js?t=${Artplayer.build}`);
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user