Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolalamacchia committed Feb 19, 2020
1 parent 54fa0c1 commit 287f01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const resourcesToPrecache = [
]

const cacheResources = async () => {
const cache = await caches.open(cacheName)
const cache = await caches.open(CACHE_NAME)
return cache.addAll(resourceToPrecache)
}

Expand Down

0 comments on commit 287f01d

Please sign in to comment.