chore: automatic fix some linting errors, update lint config

This commit is contained in:
Pieter Vander Vennet 2025-06-18 21:52:03 +02:00
parent 04c8ccb0d2
commit 804280511b
26 changed files with 47 additions and 45 deletions

View file

@ -24,8 +24,8 @@ async function activate() {
}
async function fetchAndCache(event: ServiceWorkerFetchEvent): Promise<Response> {
let networkResponse = await fetch(event.request)
let cache = await caches.open(version)
const networkResponse = await fetch(event.request)
const cache = await caches.open(version)
await cache.put(event.request, networkResponse.clone())
console.log("Cached", event.request)
return networkResponse