Skip to content

Commit

Permalink
SHUT UP ABOUT INTEGRITY- I GIVE NO FUCKS
Browse files Browse the repository at this point in the history
  • Loading branch information
pieckenst committed Oct 31, 2024
1 parent 6e63fe4 commit 61c1cb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion LaunchApp/wwwroot/service-worker.published.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ async function onInstall(event) {
const assetsRequests = self.assetsManifest.assets
.filter(asset => offlineAssetsInclude.some(pattern => pattern.test(asset.url)))
.filter(asset => !offlineAssetsExclude.some(pattern => pattern.test(asset.url)))
.map(asset => new Request(asset.url, { integrity: asset.hash, cache: 'no-cache' }));
.map(asset => new Request(asset.url));

await caches.open(cacheName).then(cache => cache.addAll(assetsRequests));
}

Expand Down

0 comments on commit 61c1cb4

Please sign in to comment.