From 4f298c759c6b09784613cad4b7b304327ea36545 Mon Sep 17 00:00:00 2001 From: zelda-editor <118724085+zelda-editor@users.noreply.github.com> Date: Thu, 1 Dec 2022 10:26:55 +0800 Subject: [PATCH] Update _cache_service_worker.js --- _cache_service_worker.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/_cache_service_worker.js b/_cache_service_worker.js index bc3ddc4..e0f00f0 100644 --- a/_cache_service_worker.js +++ b/_cache_service_worker.js @@ -10,14 +10,7 @@ https://user.github.io/repo/ (without index.html) in some browsers (Firefox) use absolute paths if hosted in GitHub Pages in order to avoid it also invoke sw with an absolute path: - navigator.serviceWorker.register('/repo/_cache_service_worker.js', {scope: '/repo/'}) -*/ -var PRECACHE_ID='rom-patcher-js'; -var PRECACHE_VERSION='v27'; -var PRECACHE_URLS=[ - '/RomPatcher.js/','/RomPatcher.js/index.html', - '/RomPatcher.js/manifest.json', '/RomPatcher.js/style/app_icon_16.png', '/RomPatcher.js/style/app_icon_114.png', '/RomPatcher.js/style/app_icon_144.png', @@ -90,4 +83,4 @@ self.addEventListener('fetch', evt => { }) ); } -}); \ No newline at end of file +});