mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-08-06 16:50:54 +00:00
fixing PWA cache
This commit is contained in:
parent
8ab9516238
commit
e5bc46d725
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,6 @@ caches.keys().then(function(cacheNames){
|
|||
if(
|
||||
cacheNames[i]==='runtime' ||
|
||||
/^precache-\w+$/.test(cacheNames[i]) ||
|
||||
/^precache-editor-([\w\+]+)-\w+$/.test(cacheNames[i]) ||
|
||||
/^v?\d+\w?$/.test(cacheNames[i])
|
||||
){
|
||||
console.log('deleting old cache: '+cacheNames[i]);
|
||||
|
@ -30,7 +29,7 @@ caches.keys().then(function(cacheNames){
|
|||
});
|
||||
|
||||
var PRECACHE_ID='rom-patcher-js';
|
||||
var PRECACHE_VERSION='v7c';
|
||||
var PRECACHE_VERSION='v8';
|
||||
var PRECACHE_URLS=[
|
||||
'/RomPatcher.js/','/RomPatcher.js/index.html',
|
||||
'/RomPatcher.js/manifest.json',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue