summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stendahl <14180120+JakobST1n@users.noreply.github.com>2020-10-13 21:18:16 +0200
committerGitHub <noreply@github.com>2020-10-13 21:18:16 +0200
commit82e0fcc694eaede8f57c49df2bb1e5cabe0f5fb2 (patch)
tree2424b7f242799f2bc809782c1b295ee620efc0dc
parent31f25afd0fef8fade453ddaf65737ff2c19c3b0c (diff)
downloadAurora-data-82e0fcc694eaede8f57c49df2bb1e5cabe0f5fb2.tar.gz
Aurora-data-82e0fcc694eaede8f57c49df2bb1e5cabe0f5fb2.zip
Update service-worker.js
-rw-r--r--service-worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/service-worker.js b/service-worker.js
index e267144..50906b9 100644
--- a/service-worker.js
+++ b/service-worker.js
@@ -1 +1 @@
-!function(){"use strict";const e=1602616465091,t="cache"+e,s=["/client/inject_styles.5607aec6.js","/client/index.3e5f04b7.js","/client/client.0916be27.js"].concat(["/service-worker-index.html","/aurora.jpg","/favicon.png","/global.css","/index.css","/logo-192.png","/logo-512.png","/manifest.json","/postcss.config.js"]),n=new Set(s);self.addEventListener("install",(e=>{e.waitUntil(caches.open(t).then((e=>e.addAll(s))).then((()=>{self.skipWaiting()})))})),self.addEventListener("activate",(e=>{e.waitUntil(caches.keys().then((async e=>{for(const s of e)s!==t&&await caches.delete(s);self.clients.claim()})))})),self.addEventListener("fetch",(t=>{if("GET"!==t.request.method||t.request.headers.has("range"))return;const s=new URL(t.request.url);s.protocol.startsWith("http")&&(s.hostname===self.location.hostname&&s.port!==self.location.port||(s.host===self.location.host&&n.has(s.pathname)?t.respondWith(caches.match(t.request)):"only-if-cached"!==t.request.cache&&t.respondWith(caches.open("offline"+e).then((async e=>{try{const s=await fetch(t.request);return e.put(t.request,s.clone()),s}catch(s){const n=await e.match(t.request);if(n)return n;throw s}})))))}))}();
+!function(){"use strict";const e=1602616465091,t="cache"+e,s=["/Aurora-data/client/inject_styles.5607aec6.js","/Aurora-data/client/index.3e5f04b7.js","/Aurora-data/client/client.0916be27.js"].concat(["/Aurora-data/service-worker-index.html","/Aurora-data/aurora.jpg","/Aurora-data/favicon.png","/Aurora-data/global.css","/Aurora-data/index.css","/Aurora-data/logo-192.png","/Aurora-data/logo-512.png","/Aurora-data/manifest.json","/Aurora-data/postcss.config.js"]),n=new Set(s);self.addEventListener("install",(e=>{e.waitUntil(caches.open(t).then((e=>e.addAll(s))).then((()=>{self.skipWaiting()})))})),self.addEventListener("activate",(e=>{e.waitUntil(caches.keys().then((async e=>{for(const s of e)s!==t&&await caches.delete(s);self.clients.claim()})))})),self.addEventListener("fetch",(t=>{if("GET"!==t.request.method||t.request.headers.has("range"))return;const s=new URL(t.request.url);s.protocol.startsWith("http")&&(s.hostname===self.location.hostname&&s.port!==self.location.port||(s.host===self.location.host&&n.has(s.pathname)?t.respondWith(caches.match(t.request)):"only-if-cached"!==t.request.cache&&t.respondWith(caches.open("offline"+e).then((async e=>{try{const s=await fetch(t.request);return e.put(t.request,s.clone()),s}catch(s){const n=await e.match(t.request);if(n)return n;throw s}})))))}))}();