mirror of
https://codeberg.org/vlw/victorwesterlund.com.git
synced 2025-09-14 11:33:41 +02:00
dev-12140843
This commit is contained in:
parent
c6e4eab25f
commit
60890eae40
1 changed files with 1 additions and 1 deletions
|
@ -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(event.request);
|
return caches.match(root + "pattern.gif");
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue