Skip to content

Commit

Permalink
fix SW
Browse files Browse the repository at this point in the history
  • Loading branch information
Specy committed Apr 8, 2024
1 parent b5c5de9 commit c939ee0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/service-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ console.log(`CACHE NAME: "${CACHE}"`)
declare var self: ServiceWorkerGlobalScope
clientsClaim();

//@ts-ignore
const PRECACHE_MANIFEST = self.__WB_MANIFEST as unknown as Array<{ url: string, revision: string }>
const FILTERED_MANIFEST = PRECACHE_MANIFEST.filter(e => !(
e.url.includes(".mp3") || //runtime cached
Expand Down

0 comments on commit c939ee0

Please sign in to comment.