File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818 < script >
1919 if ( 'serviceWorker' in navigator ) {
2020 window . addEventListener ( 'load' , function ( ) {
21- navigator . serviceWorker . register ( '/sw.js?0157 ' ) . then ( function ( registration ) {
21+ navigator . serviceWorker . register ( '/sw.js?0158 ' ) . then ( function ( registration ) {
2222 // Successfully registered the Service Worker
2323 //console.log('Service Worker registration successful with scope: ', registration.scope);
2424 } ) . catch ( function ( err ) {
Original file line number Diff line number Diff line change 1- var cacheName = 'csswizardry:0157 ' ;
1+ var cacheName = 'csswizardry:0158 ' ;
22var cacheFiles = [
33 '/' ,
44 '/about/' ,
@@ -63,7 +63,7 @@ self.addEventListener('fetch', function(event) {
6363// Empty out any caches that don’t match the ones listed.
6464self . addEventListener ( 'activate' , function ( event ) {
6565
66- var cacheWhitelist = [ 'csswizardry:0157 ' ] ;
66+ var cacheWhitelist = [ 'csswizardry:0158 ' ] ;
6767
6868 event . waitUntil (
6969 caches . keys ( ) . then ( function ( cacheNames ) {
You can’t perform that action at this time.
0 commit comments