summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakobst1n <undefined>2020-10-13 20:58:03 +0200
committerjakobst1n <undefined>2020-10-13 20:58:03 +0200
commit0e7474870ccdfd499bf37804927d388509838339 (patch)
treeddf4fbf11d9f20231c45bd984b86466787cb3091
parentca2cc9b125c884da0e0bf4028549b654cc609bc1 (diff)
downloadAurora-data-0e7474870ccdfd499bf37804927d388509838339.tar.gz
Aurora-data-0e7474870ccdfd499bf37804927d388509838339.zip
Updates
-rw-r--r--manifest.json2
-rw-r--r--service-worker.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifest.json b/manifest.json
index d9c76bd..be2d463 100644
--- a/manifest.json
+++ b/manifest.json
@@ -4,7 +4,7 @@
"name": "Aurora Data",
"short_name": "aurora data",
"display": "standalone",
- "start_url": "/Aurora-data",
+ "start_url": "/Aurora-data/",
"orientation": "portrait",
"icons": [
{
diff --git a/service-worker.js b/service-worker.js
index 7a16b0f..b90e8fd 100644
--- a/service-worker.js
+++ b/service-worker.js
@@ -1 +1 @@
-!function(){"use strict";const e=1602615213794,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=1602615476316,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}})))))}))}();