Removing service-worker.js

This commit is contained in:
Caleb Fultz 2024-08-20 23:58:24 -04:00
parent 8fedcefb4b
commit e3e2bcab76

View File

@ -1,24 +0,0 @@
self.addEventListener('install', (event) => {
event.waitUntil(
caches.open('mtg-csv-generator-v1').then((cache) => {
return cache.addAll([
'/',
'/index.html',
'/styles.css',
'/app.js',
'/manifest.json',
'/icon.png',
'/cash-money.mp3',
'/randomWords.js'
]);
})
);
});
self.addEventListener('fetch', (event) => {
event.respondWith(
caches.match(event.request).then((response) => {
return response || fetch(event.request);
})
);
});