mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
deploy to github pages de146ba6bc8b30ec01f0be697b4d1edec0648de1
This commit is contained in:
parent
080e34ef2a
commit
d087a67d5c
@ -19,11 +19,7 @@ importScripts(
|
|||||||
|
|
||||||
workbox.core.setCacheNameDetails({prefix: "pptist"});
|
workbox.core.setCacheNameDetails({prefix: "pptist"});
|
||||||
|
|
||||||
self.addEventListener('message', (event) => {
|
workbox.core.skipWaiting();
|
||||||
if (event.data && event.data.type === 'SKIP_WAITING') {
|
|
||||||
self.skipWaiting();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
|
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user