8 lines
212 B
JavaScript
8 lines
212 B
JavaScript
// 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}`);
|
|
});
|