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 287f01d commit 1f6f6a5
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 @@ -14,7 +14,7 @@ const resourcesToPrecache = [

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

self.addEventListener('install', async event => {
Expand Down

0 comments on commit 1f6f6a5

Please sign in to comment.