From ff57091eef9fedc5e08fa3965e29bd66a697013b Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Mon, 23 Jun 2025 16:07:37 +0200 Subject: [PATCH] Update service-worker.published.js to include new shared TS libs to cache (#955) --- .../AliasVault.Client/wwwroot/service-worker.published.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/AliasVault.Client/wwwroot/service-worker.published.js b/apps/server/AliasVault.Client/wwwroot/service-worker.published.js index 0d9986fce..ac29dfcf1 100644 --- a/apps/server/AliasVault.Client/wwwroot/service-worker.published.js +++ b/apps/server/AliasVault.Client/wwwroot/service-worker.published.js @@ -8,7 +8,7 @@ self.addEventListener('fetch', event => event.respondWith(onFetch(event))); const cacheNamePrefix = 'offline-cache-'; const cacheName = `${cacheNamePrefix}${self.assetsManifest.version}`; -const offlineAssetsInclude = [ /\.dll$/, /\.pdb$/, /\.wasm/, /\.html/, /\.js$/, /\.json$/, /\.css$/, /\.woff$/, /\.png$/, /\.jpe?g$/, /\.gif$/, /\.ico$/, /\.blat$/, /\.dat$/ ]; +const offlineAssetsInclude = [ /\.dll$/, /\.pdb$/, /\.wasm/, /\.html/, /\.js$/, /\.json$/, /\.css$/, /\.woff$/, /\.png$/, /\.jpe?g$/, /\.gif$/, /\.ico$/, /\.blat$/, /\.dat$/, /\.svg$/, /\.mjs$/ ]; const offlineAssetsExclude = [ /^service-worker\.js$/ ]; async function onInstall(event) {