diff options
Diffstat (limited to 'src/worker.ts')
| -rw-r--r-- | src/worker.ts | 2 |
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'); |
