about summary refs log tree commit diff stats
path: root/src/worker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker.ts')
-rw-r--r--src/worker.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.ts b/src/worker.ts
index 1082379..a1e69a0 100644
--- a/src/worker.ts
+++ b/src/worker.ts
@@ -139,7 +139,7 @@ sw.addEventListener('fetch', (event) => {
             catch (err) {
                 // i.e. read.html?id=1234&b=1234
                 if (url.pathname.includes("read.html")) {
-                    return caches.match("/read.html");
+                    return caches.match("/read.html", { ignoreSearch: true });
                 }
                 else {
                     return caches.match('/offline.html');