mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-16 09:36:16 -08:00
Update Artplayer version and service worker registration
This commit is contained in:
1 parent
c9dd163ab5
commit
04905ff44f
2 files changed
+5
-5
No files matched your search
+1
-1
@@ -165,7 +165,7 @@
|
||||
<script>
|
||||
if (!isLocalhost && 'serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function () {
|
||||
navigator.serviceWorker.register(`./sw.js?t=${Artplayer.build}`);
|
||||
// navigator.serviceWorker.register(`./sw.js?t=${Artplayer.build}`);
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user