development #13

Merged
erman merged 9 commits from development into main 2025-06-29 17:17:21 +02:00
Showing only changes of commit 61018b2326 - Show all commits

View File

@@ -4,8 +4,6 @@ import { build, files, version } from '$service-worker';
// Create a unique cache name for this deployment // Create a unique cache name for this deployment
const CACHE = `cache-${version}`; const CACHE = `cache-${version}`;
console.log("Service worker is live!")
const ASSETS = [ const ASSETS = [
...build, // the app itself ...build, // the app itself
...files // everything in `static` ...files // everything in `static`
@@ -19,8 +17,6 @@ self.addEventListener('install', (event) => {
} }
event.waitUntil(addFilesToCache()); event.waitUntil(addFilesToCache());
console.log("Service worker is live!")
}); });
self.addEventListener('activate', (event) => { self.addEventListener('activate', (event) => {