ceiba-scores/assets/js/sw.js

13 lines
255 B
JavaScript

self.addEventListener('install', function(event) {
event.waitUntil(
caches.open('v1').then(function(cache) {
return cache.addAll([
'/',
'/index.html',
'/styles/main.css',
'/js/main.js'
]);
})
);
});