mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-12 10:00:07 -04:00
Rebuild /docs
This commit is contained in:
parent
9e074edf39
commit
d4ce558e64
21 changed files with 92 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
".svelte-kit/runtime/client/start.js": {
|
||||
"file": "start-3427dd58.js",
|
||||
"file": "start-6444c7e5.js",
|
||||
"src": ".svelte-kit/runtime/client/start.js",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
docs/_app/start-6444c7e5.js.br
Normal file
BIN
docs/_app/start-6444c7e5.js.br
Normal file
Binary file not shown.
BIN
docs/_app/start-6444c7e5.js.gz
Normal file
BIN
docs/_app/start-6444c7e5.js.gz
Normal file
Binary file not shown.
|
@ -1 +1 @@
|
|||
{"version":"1649335452445"}
|
||||
{"version":"1649376795226"}
|
Binary file not shown.
Binary file not shown.
|
@ -4,6 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="./favicon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="manifest" crossorigin="use-credentials" href="./manifest.json">
|
||||
<meta http-equiv="content-security-policy" content=""><title>iptv-org</title><script data-svelte="svelte-bjnlvt">if (document) {
|
||||
let mode = localStorage.theme || 'light'
|
||||
if (mode === 'dark' || window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
||||
|
@ -18,11 +19,16 @@
|
|||
<link rel="stylesheet" href="/_app/assets/vendor-c8b32335.css">
|
||||
<link rel="stylesheet" href="/_app/assets/pages/__layout.svelte-dfa63d41.css">
|
||||
<link rel="stylesheet" href="/_app/assets/pages/index.svelte-fade4f59.css">
|
||||
<link rel="modulepreload" href="/_app/start-3427dd58.js">
|
||||
<link rel="modulepreload" href="/_app/start-6444c7e5.js">
|
||||
<link rel="modulepreload" href="/_app/chunks/vendor-699b6971.js">
|
||||
<link rel="modulepreload" href="/_app/pages/__layout.svelte-c3821928.js">
|
||||
<link rel="modulepreload" href="/_app/chunks/store-61c15de0.js">
|
||||
<link rel="modulepreload" href="/_app/pages/index.svelte-c559d2d1.js">
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('/service-worker.js');
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@ -58,7 +64,7 @@
|
|||
|
||||
|
||||
<script type="module" data-hydrate="1wsdtjz">
|
||||
import { start } from "/_app/start-3427dd58.js";
|
||||
import { start } from "/_app/start-6444c7e5.js";
|
||||
start({
|
||||
target: document.querySelector('[data-hydrate="1wsdtjz"]').parentNode,
|
||||
paths: {"base":"","assets":""},
|
||||
|
|
Binary file not shown.
Binary file not shown.
BIN
docs/logo_512.png
Normal file
BIN
docs/logo_512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 111 B |
17
docs/manifest.json
Normal file
17
docs/manifest.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"short_name": "iptv-org",
|
||||
"name": "iptv-org",
|
||||
"start_url": "/",
|
||||
"id": "/",
|
||||
"icons": [
|
||||
{
|
||||
"src": "logo_512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"background_color": "#f8fafc",
|
||||
"display": "standalone",
|
||||
"scope": "/",
|
||||
"theme_color": "#f8fafc"
|
||||
}
|
BIN
docs/manifest.json.br
Normal file
BIN
docs/manifest.json.br
Normal file
Binary file not shown.
BIN
docs/manifest.json.gz
Normal file
BIN
docs/manifest.json.gz
Normal file
Binary file not shown.
64
docs/service-worker.js
Normal file
64
docs/service-worker.js
Normal file
|
@ -0,0 +1,64 @@
|
|||
const build = [
|
||||
"/_app/start-6444c7e5.js",
|
||||
"/_app/pages/__layout.svelte-c3821928.js",
|
||||
"/_app/assets/pages/__layout.svelte-dfa63d41.css",
|
||||
"/_app/error.svelte-92ad0bf9.js",
|
||||
"/_app/pages/index.svelte-c559d2d1.js",
|
||||
"/_app/assets/pages/index.svelte-fade4f59.css",
|
||||
"/_app/chunks/vendor-699b6971.js",
|
||||
"/_app/assets/vendor-c8b32335.css",
|
||||
"/_app/chunks/store-61c15de0.js"
|
||||
];
|
||||
const files = [
|
||||
"/.nojekyll",
|
||||
"/favicon.png",
|
||||
"/logo_512.png",
|
||||
"/manifest.json"
|
||||
];
|
||||
const version = "1649376795226";
|
||||
const ASSETS = `cache_${version}`;
|
||||
const to_cache = build.concat(files);
|
||||
const staticAssets = new Set(to_cache);
|
||||
console.log(ASSETS, staticAssets);
|
||||
self.addEventListener("install", (event) => {
|
||||
event.waitUntil(caches.open(ASSETS).then((cache) => cache.addAll(to_cache)).then(() => {
|
||||
self.skipWaiting();
|
||||
}).catch(console.error));
|
||||
});
|
||||
self.addEventListener("activate", (event) => {
|
||||
event.waitUntil(caches.keys().then(async (keys) => {
|
||||
for (const key of keys) {
|
||||
if (key !== ASSETS)
|
||||
await caches.delete(key);
|
||||
}
|
||||
self.clients.claim();
|
||||
}).catch(console.error));
|
||||
});
|
||||
async function fetchAndCache(request) {
|
||||
const cache = await caches.open(`offline_${version}`);
|
||||
try {
|
||||
const response = await fetch(request);
|
||||
cache.put(request, response.clone());
|
||||
return response;
|
||||
} catch (err) {
|
||||
const response = await cache.match(request);
|
||||
if (response)
|
||||
return response;
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
self.addEventListener("fetch", (event) => {
|
||||
if (event.request.method !== "GET" || event.request.headers.has("range"))
|
||||
return;
|
||||
const url = new URL(event.request.url);
|
||||
const isHttp = url.protocol.startsWith("http");
|
||||
const isDevServerRequest = url.hostname === self.location.hostname && url.port !== self.location.port;
|
||||
const isStaticAsset = url.host === self.location.host && staticAssets.has(url.pathname);
|
||||
const skipBecauseUncached = event.request.cache === "only-if-cached" && !isStaticAsset;
|
||||
if (isHttp && !isDevServerRequest && !skipBecauseUncached) {
|
||||
event.respondWith((async () => {
|
||||
const cachedAsset = isStaticAsset && await caches.match(event.request);
|
||||
return cachedAsset || fetchAndCache(event.request);
|
||||
})());
|
||||
}
|
||||
});
|
BIN
docs/service-worker.js.br
Normal file
BIN
docs/service-worker.js.br
Normal file
Binary file not shown.
BIN
docs/service-worker.js.gz
Normal file
BIN
docs/service-worker.js.gz
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue