diff --git a/pwa/sw.js b/pwa/sw.js index 50081b3..4e3ad67 100644 --- a/pwa/sw.js +++ b/pwa/sw.js @@ -35,36 +35,3 @@ self.addEventListener('install', async (event) => { .then((cache) => cache.addAll(PRECACHE_ASSETS)) ); }); - -if (workbox.navigationPreload.isSupported()) { - workbox.navigationPreload.enable(); -} - -workbox.routing.registerRoute( - new RegExp('/*'), - new workbox.strategies.StaleWhileRevalidate({ - cacheName: CACHE - }) -); - -self.addEventListener('fetch', (event) => { - if (event.request.mode === 'navigate') { - event.respondWith((async () => { - try { - const preloadResp = await event.preloadResponse; - - if (preloadResp) { - return preloadResp; - } - - const networkResp = await fetch(event.request); - return networkResp; - } catch (error) { - - const cache = await caches.open(CACHE); - const cachedResp = await cache.match('/404'); - return cachedResp; - } - })()); - } -}); \ No newline at end of file diff --git a/templates/now/25_01_30.html b/templates/now/25_01_30.html new file mode 100644 index 0000000..a441d01 --- /dev/null +++ b/templates/now/25_01_30.html @@ -0,0 +1,161 @@ + + + +
+ + +I've spent most of January travelling and camping so haven't been as active online.
+I've done a lot of updates this week on FireWallet.
This includes updating and creating new plugins, fixing various bugs and small issues and cleaning up the code