Skip to content

Commit e279c29

Browse files
committed
adding missed svg graphic for caching
1 parent 37ad1f1 commit e279c29

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cloud-reader/peblSW.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ var FILES_TO_CACHE = [
7575

7676
"./manifest.json",
7777

78+
"./images/pebl-icons-search.svg",
7879
"./images/PEBL-icon-16.ico",
7980
"./images/covers/cover1.jpg",
8081
"./images/covers/cover2.jpg",
@@ -227,8 +228,6 @@ self.addEventListener('fetch', (event) => {
227228
root = url.href.substring(0, indexOEBPS + "/OEBPS/".length);
228229
}
229230

230-
// console.log("request", request, url.origin == location.origin);
231-
232231
if (url.origin == location.origin) {
233232
event.respondWith((async () => {
234233
let openCache = await caches.open(root || CACHE_NAME);

0 commit comments

Comments
 (0)