mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 01:35:28 +01:00
get rid of cache
This commit is contained in:
parent
86960b7c9f
commit
e76ba70d88
@ -15,12 +15,6 @@ self.addEventListener("message", (event) => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
self.addEventListener("install", async (event) => {
|
|
||||||
event.waitUntil(
|
|
||||||
caches.open(CACHE).then((cache) => cache.add(offlineFallbackPage))
|
|
||||||
);
|
|
||||||
});
|
|
||||||
|
|
||||||
if (workbox.navigationPreload.isSupported()) {
|
if (workbox.navigationPreload.isSupported()) {
|
||||||
workbox.navigationPreload.enable();
|
workbox.navigationPreload.enable();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user