Browse Source

Remove extra level of indentation

pm2
Luke Childs 9 years ago
parent
commit
a805897f65
  1. 14
      public/sw.js

14
public/sw.js

@ -76,14 +76,14 @@ self.addEventListener('fetch', function(event) {
// Try and return a previously cached version // Try and return a previously cached version
return caches.match(event.request) return caches.match(event.request)
.then(function(response) { .then(function(response) {
if (response) { if (response) {
return response; return response;
} }
// If we don't have a cached version show pretty offline page // If we don't have a cached version show pretty offline page
return caches.match(offlineUrl); return caches.match(offlineUrl);
}); });
}) })
); );
} }

Loading…
Cancel
Save