dev-12140843

This commit is contained in:
Victor Westerlund 2020-12-14 08:43:11 +01:00
parent c6e4eab25f
commit 60890eae40

View file

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