mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-13 02:20:06 -04:00
Rebuild /docs
This commit is contained in:
parent
e6af359db4
commit
5478fab758
78 changed files with 105 additions and 99 deletions
|
@ -1,23 +1,23 @@
|
|||
const s = /* @__PURE__ */ location.pathname.split("/").slice(0, -1).join("/"), h = [
|
||||
s + "/_app/immutable/entry/app.7582c659.js",
|
||||
s + "/_app/immutable/assets/0.86fc99df.css",
|
||||
s + "/_app/immutable/nodes/0.73226839.js",
|
||||
s + "/_app/immutable/nodes/1.ba1fb5e3.js",
|
||||
s + "/_app/immutable/entry/app.c018c3e7.js",
|
||||
s + "/_app/immutable/assets/0.039b7214.css",
|
||||
s + "/_app/immutable/nodes/0.1654e388.js",
|
||||
s + "/_app/immutable/nodes/1.078a6320.js",
|
||||
s + "/_app/immutable/assets/2.dfa854c9.css",
|
||||
s + "/_app/immutable/nodes/2.6e6804fa.js",
|
||||
s + "/_app/immutable/nodes/3.5e7f212a.js",
|
||||
s + "/_app/immutable/nodes/2.3e3c98de.js",
|
||||
s + "/_app/immutable/nodes/3.bd9e67c7.js",
|
||||
s + "/_app/immutable/assets/EditButton.0d24e5da.css",
|
||||
s + "/_app/immutable/chunks/EditButton.5524866c.js",
|
||||
s + "/_app/immutable/chunks/index.a38b3e2d.js",
|
||||
s + "/_app/immutable/chunks/singletons.56387a19.js",
|
||||
s + "/_app/immutable/chunks/stores.69824a18.js",
|
||||
s + "/_app/immutable/entry/start.d055ab84.js"
|
||||
s + "/_app/immutable/chunks/EditButton.80944880.js",
|
||||
s + "/_app/immutable/chunks/index.33dbc0d8.js",
|
||||
s + "/_app/immutable/chunks/singletons.497cadfa.js",
|
||||
s + "/_app/immutable/chunks/stores.ac853a9e.js",
|
||||
s + "/_app/immutable/entry/start.737d4d95.js"
|
||||
], m = [
|
||||
s + "/.nojekyll",
|
||||
s + "/favicon.png",
|
||||
s + "/logo_512.png",
|
||||
s + "/manifest.json"
|
||||
], i = "1696472885059", l = `cache_${i}`, p = h.concat(m), u = new Set(p);
|
||||
], i = "1696480578539", l = `cache_${i}`, p = h.concat(m), d = new Set(p);
|
||||
self.addEventListener("install", (t) => {
|
||||
t.waitUntil(
|
||||
caches.open(l).then((e) => e.addAll(p)).then(() => {
|
||||
|
@ -34,7 +34,7 @@ self.addEventListener("activate", (t) => {
|
|||
}).catch(console.error)
|
||||
);
|
||||
});
|
||||
async function d(t) {
|
||||
async function u(t) {
|
||||
const e = await caches.open(`offline_${i}`);
|
||||
try {
|
||||
const a = await fetch(t);
|
||||
|
@ -49,8 +49,8 @@ async function d(t) {
|
|||
self.addEventListener("fetch", (t) => {
|
||||
if (t.request.method !== "GET" || t.request.headers.has("range"))
|
||||
return;
|
||||
const e = new URL(t.request.url), a = e.protocol.startsWith("http"), c = e.hostname === self.location.hostname && e.port !== self.location.port, n = e.host === self.location.host, o = n && u.has(e.pathname), r = t.request.cache === "only-if-cached" && !o;
|
||||
const e = new URL(t.request.url), a = e.protocol.startsWith("http"), c = e.hostname === self.location.hostname && e.port !== self.location.port, n = e.host === self.location.host, o = n && d.has(e.pathname), r = t.request.cache === "only-if-cached" && !o;
|
||||
a && n && !c && !r && t.respondWith(
|
||||
(async () => o && await caches.match(t.request) || d(t.request))()
|
||||
(async () => o && await caches.match(t.request) || u(t.request))()
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue