From 55bd66b725395fa5bd05627dd49dd6de58113daa Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Thu, 13 Oct 2016 16:52:59 +0100 Subject: [PATCH] Add start_url to cache on service worker install --- public/sw.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/sw.js b/public/sw.js index 0bc43d7..d605bd9 100644 --- a/public/sw.js +++ b/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',