mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-12 18:10:06 -04:00
Rebuild /docs
This commit is contained in:
parent
28ec2aaead
commit
aded81738b
44 changed files with 75 additions and 74 deletions
|
@ -1,28 +1,28 @@
|
|||
const m = [
|
||||
"/_app/immutable/chunks/0-2c3b3d68.js",
|
||||
"/_app/immutable/chunks/1-ff9c490e.js",
|
||||
"/_app/immutable/chunks/2-63d47fd6.js",
|
||||
"/_app/immutable/chunks/3-2901e28a.js",
|
||||
"/_app/immutable/chunks/2-34ef2edd.js",
|
||||
"/_app/immutable/chunks/3-b0888652.js",
|
||||
"/_app/immutable/assets/HTMLPreview-0d24e5da.css",
|
||||
"/_app/immutable/chunks/HTMLPreview-2ad8fa1f.js",
|
||||
"/_app/immutable/chunks/HTMLPreview-47d53caf.js",
|
||||
"/_app/immutable/chunks/_layout-da46b06b.js",
|
||||
"/_app/immutable/chunks/index-44df08c7.js",
|
||||
"/_app/immutable/chunks/singletons-b6a05648.js",
|
||||
"/_app/immutable/chunks/stores-500e7bc6.js",
|
||||
"/_app/immutable/start-7c31a2d5.js",
|
||||
"/_app/immutable/start-ac4d11cd.js",
|
||||
"/_app/immutable/components/error.svelte-a7192f92.js",
|
||||
"/_app/immutable/assets/_layout-6748d0a2.css",
|
||||
"/_app/immutable/modules/pages/_layout.js-9cbb603b.js",
|
||||
"/_app/immutable/components/pages/_layout.svelte-3df27be0.js",
|
||||
"/_app/immutable/assets/_page-dfa854c9.css",
|
||||
"/_app/immutable/components/pages/_page.svelte-8240e5f6.js",
|
||||
"/_app/immutable/components/pages/channel/_page.svelte-2fc55ff6.js"
|
||||
"/_app/immutable/components/pages/_page.svelte-f8a4fad1.js",
|
||||
"/_app/immutable/components/pages/channel/_page.svelte-37398ba2.js"
|
||||
], h = [
|
||||
"/.nojekyll",
|
||||
"/favicon.png",
|
||||
"/logo_512.png",
|
||||
"/manifest.json"
|
||||
], o = "1678201534698", i = `cache_${o}`, p = m.concat(h), r = new Set(p);
|
||||
], o = "1680551161244", i = `cache_${o}`, p = m.concat(h), r = new Set(p);
|
||||
self.addEventListener("install", (e) => {
|
||||
e.waitUntil(
|
||||
caches.open(i).then((s) => s.addAll(p)).then(() => {
|
||||
|
@ -33,8 +33,8 @@ self.addEventListener("install", (e) => {
|
|||
self.addEventListener("activate", (e) => {
|
||||
e.waitUntil(
|
||||
caches.keys().then(async (s) => {
|
||||
for (const t of s)
|
||||
t !== i && await caches.delete(t);
|
||||
for (const a of s)
|
||||
a !== i && await caches.delete(a);
|
||||
self.clients.claim();
|
||||
}).catch(console.error)
|
||||
);
|
||||
|
@ -42,20 +42,20 @@ self.addEventListener("activate", (e) => {
|
|||
async function u(e) {
|
||||
const s = await caches.open(`offline_${o}`);
|
||||
try {
|
||||
const t = await fetch(e);
|
||||
return s.put(e, t.clone()), t;
|
||||
} catch (t) {
|
||||
const a = await s.match(e);
|
||||
if (a)
|
||||
return a;
|
||||
throw t;
|
||||
const a = await fetch(e);
|
||||
return s.put(e, a.clone()), a;
|
||||
} catch (a) {
|
||||
const t = await s.match(e);
|
||||
if (t)
|
||||
return t;
|
||||
throw a;
|
||||
}
|
||||
}
|
||||
self.addEventListener("fetch", (e) => {
|
||||
if (e.request.method !== "GET" || e.request.headers.has("range"))
|
||||
return;
|
||||
const s = new URL(e.request.url), t = s.protocol.startsWith("http"), a = s.hostname === self.location.hostname && s.port !== self.location.port, c = s.host === self.location.host, n = c && r.has(s.pathname), l = e.request.cache === "only-if-cached" && !n;
|
||||
t && c && !a && !l && e.respondWith(
|
||||
const s = new URL(e.request.url), a = s.protocol.startsWith("http"), t = s.hostname === self.location.hostname && s.port !== self.location.port, c = s.host === self.location.host, n = c && r.has(s.pathname), l = e.request.cache === "only-if-cached" && !n;
|
||||
a && c && !t && !l && e.respondWith(
|
||||
(async () => n && await caches.match(e.request) || u(e.request))()
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue