Skip to content

Commit 6671f32

Browse files
committed
And then?
1 parent f55f54e commit 6671f32

File tree

1 file changed

+1
-1
lines changed
  • source/_extensions/pwa_service_files

1 file changed

+1
-1
lines changed

source/_extensions/pwa_service_files/sw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ self.addEventListener('install', function(e) {
66
e.waitUntil(
77
caches.open('frc-docs').then(function(cache) {
88
fetch('_static/cache.json')
9-
.then(response => {return cache.addAll(response.json())})
9+
.then(response => response.json().then(data => cache.addAll(data)))
1010
.catch(error => {
1111
console.error(error);
1212
});

0 commit comments

Comments
 (0)