diff options
Diffstat (limited to 'src/worker.js')
| -rw-r--r-- | src/worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.js b/src/worker.js index af38aa4..414c328 100644 --- a/src/worker.js +++ b/src/worker.js @@ -105,7 +105,7 @@ sw.addEventListener('fetch', (event) => { } // index & read UI: online first; if offline, map index pages to offline.html & map all read.html?* to offline read.html - if (url.pathname == "/" || url.pathname.match("index.php|offline.html|read.html")) { + if (url.pathname == "/" || url.pathname.match("index.html|offline.html|read.html")) { event.respondWith( // @ts-ignore-next-line (async () => { |
