built latest static sources from main

This commit is contained in:
Aliberk Sandıkçı (CI) 2024-11-15 19:24:15 +00:00
parent 6d3969dcda
commit 54b2572d52
19 changed files with 40 additions and 29 deletions

File diff suppressed because one or more lines are too long

4
_site/app.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
const swconf = { cacheName: 'chirpy-1731694182',resources: [ '/assets/css/jekyll-theme-chirpy.css', '/', '/about/', '/now/', '/categories/', '/tags/', '/archives/', '/donate/', ], interceptor: {paths: [ ],urlPrefixes: [ ] }, purge: false };
const swconf = { cacheName: 'chirpy-1731698652',resources: [ '/assets/css/jekyll-theme-chirpy.css', '/', '/about/', '/now/', '/categories/', '/tags/', '/archives/', '/donate/', ], interceptor: {paths: [ ],urlPrefixes: [ ] }, purge: false };

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -26,27 +26,27 @@
</url>
<url>
<loc>https://asandikci.com/about/</loc>
<lastmod>2024-11-15T21:09:41+03:00</lastmod>
<lastmod>2024-11-15T22:24:10+03:00</lastmod>
</url>
<url>
<loc>https://asandikci.com/now/</loc>
<lastmod>2024-11-15T21:09:41+03:00</lastmod>
<lastmod>2024-11-15T22:24:10+03:00</lastmod>
</url>
<url>
<loc>https://asandikci.com/categories/</loc>
<lastmod>2024-11-15T21:09:41+03:00</lastmod>
<lastmod>2024-11-15T22:24:10+03:00</lastmod>
</url>
<url>
<loc>https://asandikci.com/tags/</loc>
<lastmod>2024-11-15T21:09:41+03:00</lastmod>
<lastmod>2024-11-15T22:24:10+03:00</lastmod>
</url>
<url>
<loc>https://asandikci.com/archives/</loc>
<lastmod>2024-11-15T21:09:41+03:00</lastmod>
<lastmod>2024-11-15T22:24:10+03:00</lastmod>
</url>
<url>
<loc>https://asandikci.com/donate/</loc>
<lastmod>2024-11-15T21:09:41+03:00</lastmod>
<lastmod>2024-11-15T22:24:10+03:00</lastmod>
</url>
<url>
<loc>https://asandikci.com/</loc>

5
_site/sw.min.js vendored
View file

@ -1 +1,4 @@
const swconfUrl = '/assets/js/data/swconf.js'; importScripts(swconfUrl); const purge = swconf.purge; function verifyHost(url) { for (const host of swconf.allowHosts) { const regex = RegExp(`^http(s)?://${host}/`); if (regex.test(url)) { return true; } } return false; } function verifyUrl(url) { if (!verifyHost(url)) { return false; } const requestPath = new URL(url).pathname; for (const path of swconf.denyPaths) { if (requestPath.startsWith(path)) { return false; } } return true; } if (!purge) { swconf.allowHosts.push(location.host); } self.addEventListener('install', (event) => { if (purge) { return; } event.waitUntil( caches.open(swconf.cacheName).then((cache) => { return cache.addAll(swconf.resources); }) ); }); self.addEventListener('activate', (event) => { event.waitUntil( caches.keys().then((keyList) => { return Promise.all( keyList.map((key) => { if (purge) { return caches.delete(key); } else { if (key !== swconf.cacheName) { return caches.delete(key); } } }) ); }) ); }); self.addEventListener('message', (event) => { if (event.data === 'SKIP_WAITING') { self.skipWaiting(); } }); self.addEventListener('fetch', (event) => { event.respondWith( caches.match(event.request).then((response) => { if (response) { return response; } return fetch(event.request).then((response) => { const url = event.request.url; if (purge || event.request.method !== 'GET' || !verifyUrl(url)) { return response; } let responseToCache = response.clone(); caches.open(swconf.cacheName).then((cache) => { cache.put(event.request, responseToCache); }); return response; }); }) ); });
/*!
* jekyll-theme-chirpy v7.1.1 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
*/
!function(){"use strict";importScripts("./assets/js/data/swconf.js");const e=swconf.purge,t=swconf.interceptor;self.addEventListener("install",(t=>{e||t.waitUntil(caches.open(swconf.cacheName).then((e=>e.addAll(swconf.resources))))})),self.addEventListener("activate",(t=>{t.waitUntil(caches.keys().then((t=>Promise.all(t.map((t=>e||t!==swconf.cacheName?caches.delete(t):void 0))))))})),self.addEventListener("message",(e=>{"SKIP_WAITING"===e.data&&self.skipWaiting()})),self.addEventListener("fetch",(s=>{s.request.headers.has("range")||s.respondWith(caches.match(s.request).then((n=>n||fetch(s.request).then((n=>{const r=s.request.url;if(e||"GET"!==s.request.method||!function(e){const s=new URL(e),n=s.pathname;if(!s.protocol.startsWith("http"))return!1;for(const e of t.urlPrefixes)if(s.href.startsWith(e))return!1;for(const e of t.paths)if(n.startsWith(e))return!1;return!0}(r))return n;let a=n.clone();return caches.open(swconf.cacheName).then((e=>{e.put(s.request,a)})),n})))))}))}();

File diff suppressed because one or more lines are too long