about summary refs log tree commit diff stats
path: root/src/worker.js
diff options
context:
space:
mode:
authorfox <fox@fakecake.org>2026-06-15 22:12:27 +0300
committerfox <fox@fakecake.org>2026-06-15 22:12:27 +0300
commit789758a094d4885432f165c0c8a419adeb55906c (patch)
treeb5e4229ed2119bcfc0b59cf3f634fd8fa503cf0c /src/worker.js
parent3a87066a7cf645eb8f8ddbc5d031afe753516de9 (diff)
parent7d5e7b0f95992650189b73c6160264db6b658bde (diff)
downloadthe-epube-789758a094d4885432f165c0c8a419adeb55906c.tar.gz
the-epube-789758a094d4885432f165c0c8a419adeb55906c.tar.xz
Merge branch 'dev' into 'master'
remove dedicated getinfo handler because list may operate on IDs; add some...

See merge request git/the-epube!56
Diffstat (limited to 'src/worker.js')
-rw-r--r--src/worker.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/worker.js b/src/worker.js
index 414c328..94da8db 100644
--- a/src/worker.js
+++ b/src/worker.js
@@ -80,8 +80,8 @@ sw.addEventListener('fetch', (event) => {
     // /assets/ belong to android app
     if (url.pathname.startsWith('/assets/')) return;
 
-    // request specific API endpoints from the network if possible and cache them locally
-    if (url.pathname.match('backend.php\\?op=(cover|getinfo)')) {
+    // request API endpoints from the network if possible and cache them locally
+    if (url.pathname.match('backend.php')) {
         event.respondWith(
             // @ts-ignore-next-line
             (async () => {