Skip to content

Commit 33282ed

Browse files
authored
Update service-worker.js
1 parent e289cf8 commit 33282ed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

service-worker.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const offlineAssetsInclude = [ /\.dll$/, /\.pdb$/, /\.wasm/, /\.html/, /\.js$/,
1313
const offlineAssetsExclude = [ /^service-worker\.js$/ ];
1414

1515
// Replace with your base path if you are hosting on a subfolder. Ensure there is a trailing '/'.
16-
const base = "/";
16+
const base = "/HashifyNETDemo/";
1717
const baseUrl = new URL(base, self.origin);
1818
const manifestUrlList = self.assetsManifest.assets.map(asset => new URL(asset.url, baseUrl).href);
1919

@@ -54,3 +54,4 @@ async function onFetch(event) {
5454

5555
return cachedResponse || fetch(event.request);
5656
}
57+

0 commit comments

Comments
 (0)