streams/ServiceWorker.js
2021-12-03 10:02:31 +11:00

9 lines
262 B
JavaScript

// This file should be served from the web root to avoid scope and cookie related issues with some browsers
self.addEventListener('install', function(e) {
console.log('install event');
});
self.addEventListener('fetch', function(e) {
// nothing here yet
});