diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-01-14 12:39:34 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-01-14 12:39:34 +0800 |
| commit | 2c6135818f41d576e5ff41b3cf96536d9b85c79a (patch) | |
| tree | d9ebae2b082a7790628f3c21ff8a95fc3b38f361 /public/sw.js | |
| parent | 4cf6dfb1dae4a41f539c5e5ae7a2ac83581b0a70 (diff) | |
mis spell catches -> caches
Diffstat (limited to 'public/sw.js')
| -rw-r--r-- | public/sw.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/sw.js b/public/sw.js index 61bac97c..de80a94d 100644 --- a/public/sw.js +++ b/public/sw.js @@ -19,7 +19,7 @@ self.addEventListener('install', event => { }) self.addEventListener('fetch', event => { - event.respondWith(catches.match(event.request) + event.respondWith(caches.match(event.request) .then(cachedResponse => { return cachedResponse || fetch(event.request); }) |
