summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker.js b/worker.js
index 268aee2..b871848 100644
--- a/worker.js
+++ b/worker.js
@@ -77,7 +77,7 @@ this.addEventListener('fetch', function(event) {
return fetch(req).then(function(resp) {
if (resp.status == 200) {
- if (resp.url.match("backend.php\\?op=cover")) {
+ if (resp.url.match("backend.php\\?op=(cover|getinfo)")) {
return caches.open(CACHE_NAME).then(function(cache) {
cache.put(resp.url, resp.clone());
return resp;