Skip to content

Commit

Permalink
xxxxx
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurgolo committed Feb 29, 2024
1 parent 3789eba commit 8ff2191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ self.addEventListener('fetch', event => {
// If request succeeds, clone the response to cache and return the response
if (response && response.status === 200) {
const responseToCache = response.clone();
caches.open(CACHE_NAME)
caches.open(cacheName)
.then(cache => {
cache.put(event.request, responseToCache);
});
Expand Down

0 comments on commit 8ff2191

Please sign in to comment.