Update service-worker.js

This commit is contained in:
Tania Malhotra 2020-06-25 18:29:29 +05:30 committed by GitHub
parent 3429a98776
commit 9fe9e129cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
});
}
}