fix typo in service worker
This commit is contained in:
parent
ef502ca522
commit
5317ebee8a
@ -64,7 +64,7 @@ async function getFromCache(request, event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function putInCache(request, response) {
|
async function putInCache(request, response) {
|
||||||
const cache = await cache.open(CACHE_NAME);
|
const cache = await caches.open(CACHE_NAME);
|
||||||
await cache.put(request, response);
|
await cache.put(request, response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user