From e3e2bcab761ceaa128a669271b885fe10a69625a Mon Sep 17 00:00:00 2001 From: Caleb Fultz Date: Tue, 20 Aug 2024 23:58:24 -0400 Subject: [PATCH] Removing service-worker.js --- service-worker.js | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 service-worker.js diff --git a/service-worker.js b/service-worker.js deleted file mode 100644 index b159467..0000000 --- a/service-worker.js +++ /dev/null @@ -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); - }) - ); -});