Skip to content

Commit 515bdd2

Browse files
author
Adit Sheth
committed
Fixed bug 54953.
1 parent 7e5155d commit 515bdd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/wwwroot/service-worker.published.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ self.addEventListener('fetch', event => event.respondWith(onFetch(event)));
88

99
const cacheNamePrefix = 'offline-cache-';
1010
const cacheName = `${cacheNamePrefix}${self.assetsManifest.version}`;
11-
const offlineAssetsInclude = [ /\.dll$/, /\.pdb$/, /\.wasm/, /\.html/, /\.js$/, /\.json$/, /\.css$/, /\.woff$/, /\.png$/, /\.jpe?g$/, /\.gif$/, /\.ico$/, /\.blat$/, /\.dat$/ ];
11+
const offlineAssetsInclude = [ /\.dll$/, /\.pdb$/, /\.wasm/, /\.html/, /\.js$/, /\.json$/, /\.css$/, /\.woff$/, /\.png$/, /\.jpe?g$/, /\.gif$/, /\.ico$/, /\.blat$/, /\.dat$/, /\.webmanifest$/ ];
1212
const offlineAssetsExclude = [ /^service-worker\.js$/ ];
1313

1414
// Replace with your base path if you are hosting on a subfolder. Ensure there is a trailing '/'.

0 commit comments

Comments
 (0)