mosaic/js/serviceworker.js

8 lines
212 B
JavaScript
Raw Normal View History

2023-06-06 11:57:40 +00:00
// This code executes in its own worker or thread
self.addEventListener("install", event => {
});
self.addEventListener("fetch", (e) => {
console.log(`[Service Worker] Fetched resource ${e.request.url}`);
});