Delete unused file
This commit is contained in:
parent
bbb0c12506
commit
26b5eaaf33
@ -1,8 +0,0 @@
|
|||||||
const addResourcesToCache = async (resources) => {
|
|
||||||
const cache = await caches.open('v1');
|
|
||||||
await cache.addAll(resources);
|
|
||||||
};
|
|
||||||
|
|
||||||
self.addEventListener('install', (event) => {
|
|
||||||
event.waitUntil(addResourcesToCache(['/', '/index.html', '/style.css', '/app.js', '/image-list.js', '/star-wars-logo.jpg', '/gallery/bountyHunters.jpg', '/gallery/myLittleVader.jpg', '/gallery/snowTroopers.jpg']));
|
|
||||||
});
|
|
||||||
Loading…
x
Reference in New Issue
Block a user