1
0
Fork 0
mirror of https://github.com/marcrobledo/RomPatcher.js.git synced 2025-07-27 16:48:31 +00:00

Update _cache_service_worker.js

This commit is contained in:
zelda-editor 2022-12-01 10:26:55 +08:00 committed by GitHub
parent 6c427d6e0e
commit 4f298c759c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,14 +10,7 @@
https://user.github.io/repo/ (without index.html) in some browsers (Firefox) 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 use absolute paths if hosted in GitHub Pages in order to avoid it
also invoke sw with an absolute path: 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_16.png',
'/RomPatcher.js/style/app_icon_114.png', '/RomPatcher.js/style/app_icon_114.png',
'/RomPatcher.js/style/app_icon_144.png', '/RomPatcher.js/style/app_icon_144.png',