diff options
Diffstat (limited to 'worker.js')
-rw-r--r-- | worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ self.addEventListener('message', function(event){ return caches.open(CACHE_NAME).then(function(cache) { - Promise.all(CACHE_URLS.map((url) => { + Promise.all(CACHE_URLS.map(function(url) { return fetch(url + "?ts=" + Date.now()).then((resp) => { console.log('got', resp.url, resp); |