Rework MischLabs into service dashboard
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 11s

This commit is contained in:
Kroonk
2026-05-21 15:11:52 +02:00
parent 0c3838da8a
commit 470220b8f4
9 changed files with 750 additions and 439 deletions

10
sw.js
View File

@@ -1,9 +1,11 @@
const CACHE_NAME = 'mischlabs-pwa-v2';
const CACHE_NAME = 'mischlabs-pwa-v3';
const APP_SHELL = [
'/',
'/index.html',
'/style.css?v=8',
'/manifest.webmanifest?v=2',
'/offline.html',
'/style.css?v=9',
'/app.js?v=1',
'/manifest.webmanifest?v=3',
'/icons/icon-192.png',
'/icons/icon-512.png',
'/icons/apple-touch-icon-v2.png'
@@ -34,7 +36,7 @@ self.addEventListener('fetch', (event) => {
if (request.mode === 'navigate') {
event.respondWith(
fetch(request).catch(() => caches.match('/index.html'))
fetch(request).catch(() => caches.match('/offline.html'))
);
return;
}