mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-22 20:13:35 -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)
|
||||
* @type {String}
|
||||
*/
|
||||
var CACHE_NAME;
|
||||
const CACHE_NAME;
|
||||
|
||||
/**
|
||||
* A global Boolean that governs whether CACHE_NAME will be used
|
||||
@ -259,4 +259,4 @@ function testCacheAndCountAssets(url) {
|
||||
}).catch(function(err) {
|
||||
return err;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user