mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-24 04:54:51 -04:00
Update service-worker.js
This commit is contained in:
parent
3429a98776
commit
9fe9e129cd
@ -28,7 +28,7 @@
|
|||||||
* The value is defined in app.js and will be passed to Service Worker on initialization (to avoid duplication)
|
* The value is defined in app.js and will be passed to Service Worker on initialization (to avoid duplication)
|
||||||
* @type {String}
|
* @type {String}
|
||||||
*/
|
*/
|
||||||
var CACHE_NAME;
|
const CACHE_NAME;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A global Boolean that governs whether CACHE_NAME will be used
|
* A global Boolean that governs whether CACHE_NAME will be used
|
||||||
@ -259,4 +259,4 @@ function testCacheAndCountAssets(url) {
|
|||||||
}).catch(function(err) {
|
}).catch(function(err) {
|
||||||
return err;
|
return err;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user