From 60890eae407c40866b0cdfd2071f99ce46af7c7c Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Mon, 14 Dec 2020 08:43:11 +0100 Subject: [PATCH] dev-12140843 --- public/sw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/sw.js b/public/sw.js index 56faf1f..45375ba 100644 --- a/public/sw.js +++ b/public/sw.js @@ -64,7 +64,7 @@ self.addEventListener("fetch", event => { const pattern = new Request(`${location.origin}${root}assets/img/pattern.php`); event.respondWith( fetch(pattern).catch(() => { - return caches.match(event.request); + return caches.match(root + "pattern.gif"); }) ); return;