dev-12140844

This commit is contained in:
Victor Westerlund 2020-12-14 08:44:39 +01:00
parent 60890eae40
commit 0c954479b4

View file

@ -64,7 +64,7 @@ self.addEventListener("fetch", event => {
const pattern = new Request(`${location.origin}${root}assets/img/pattern.php`); const pattern = new Request(`${location.origin}${root}assets/img/pattern.php`);
event.respondWith( event.respondWith(
fetch(pattern).catch(() => { fetch(pattern).catch(() => {
return caches.match(root + "pattern.gif"); return caches.match(root + "assets/img/pattern.gif");
}) })
); );
return; return;