Browse Source

Add start_url to cache on service worker install

pm2
Luke Childs 8 years ago
parent
commit
55bd66b725
  1. 1
      public/sw.js

1
public/sw.js

@ -10,6 +10,7 @@ self.addEventListener('install', function(event) {
.then(function(cache) {
return cache.addAll([
offlineUrl,
'/',
'/about',
'/assets/style.css',
'/assets/enhancements.js?v2',

Loading…
Cancel
Save