fix: Bump CSS and JS version to clear browser and service worker cache
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 12s

This commit is contained in:
Kroonk
2026-05-21 17:57:27 +02:00
parent ddca0ae831
commit d4f6e56ff0
2 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@
<link rel="apple-touch-icon" href="/icons/apple-touch-icon-v2.png"> <link rel="apple-touch-icon" href="/icons/apple-touch-icon-v2.png">
<link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192.png"> <link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/icons/icon-512.png"> <link rel="icon" type="image/png" sizes="512x512" href="/icons/icon-512.png">
<link rel="stylesheet" href="style.css?v=19"> <link rel="stylesheet" href="style.css?v=20">
</head> </head>
<body> <body>
<header class="shell hero"> <header class="shell hero">
@@ -117,6 +117,6 @@
</svg> </svg>
</div> </div>
<script src="/app.js?v=5" defer></script> <script src="/app.js?v=6" defer></script>
</body> </body>
</html> </html>

6
sw.js
View File

@@ -1,10 +1,10 @@
const CACHE_NAME = 'mischlabs-pwa-v7'; const CACHE_NAME = 'mischlabs-pwa-v9';
const APP_SHELL = [ const APP_SHELL = [
'/', '/',
'/index.html', '/index.html',
'/offline.html', '/offline.html',
'/style.css?v=13', '/style.css?v=20',
'/app.js?v=3', '/app.js?v=6',
'/services.json?v=1', '/services.json?v=1',
'/manifest.webmanifest?v=3', '/manifest.webmanifest?v=3',
'/icons/icon-192.png', '/icons/icon-192.png',