mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-12 05:48:25 -04:00
Remove unneeded debug
This commit is contained in:
parent
460188219d
commit
046554cd7a
@ -347,7 +347,6 @@ self.addEventListener('fetch', function (event) {
|
|||||||
// If request was successful, add or update it in the cache, but be careful not to cache the ZIM archive itself!
|
// If request was successful, add or update it in the cache, but be careful not to cache the ZIM archive itself!
|
||||||
if (!regexpExcludedURLSchema.test(event.request.url) && !/\.zim\w{0,2}$/i.test(strippedUrl)) {
|
if (!regexpExcludedURLSchema.test(event.request.url) && !/\.zim\w{0,2}$/i.test(strippedUrl)) {
|
||||||
event.waitUntil(updateCache(APP_CACHE, rqUrl, response.clone()));
|
event.waitUntil(updateCache(APP_CACHE, rqUrl, response.clone()));
|
||||||
console.debug('DEV: *** Consider adding this URL to the list of precached files in the service worker ***');
|
|
||||||
}
|
}
|
||||||
return response;
|
return response;
|
||||||
}).catch(function (error) {
|
}).catch(function (error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user