13 lines
346 B
JavaScript
13 lines
346 B
JavaScript
self.addEventListener('install', function(event) {
|
|
// Skip caching step during installation
|
|
});
|
|
|
|
self.addEventListener('activate', function(event) {
|
|
// Do nothing special during activation
|
|
});
|
|
|
|
self.addEventListener('fetch', function(event) {
|
|
// Bypass the service worker for network requests
|
|
event.respondWith(fetch(event.request));
|
|
});
|