Skip to content

Commit

Permalink
♻️ remove hash checks
Browse files Browse the repository at this point in the history
  • Loading branch information
russkyc committed Jan 11, 2025
1 parent ab60759 commit 1ccaa1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Russkyc.Timely/wwwroot/service-worker.published.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ 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 }));
.map(asset => new Request(asset.url));
await caches.open(cacheName).then(cache => {
return fetch('/offline')
.then(response => cache.put('/offline', new Response(response.body)));
Expand Down

0 comments on commit 1ccaa1d

Please sign in to comment.