We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f55f54e commit 6671f32Copy full SHA for 6671f32
source/_extensions/pwa_service_files/sw.js
@@ -6,7 +6,7 @@ self.addEventListener('install', function(e) {
6
e.waitUntil(
7
caches.open('frc-docs').then(function(cache) {
8
fetch('_static/cache.json')
9
- .then(response => {return cache.addAll(response.json())})
+ .then(response => response.json().then(data => cache.addAll(data)))
10
.catch(error => {
11
console.error(error);
12
});
0 commit comments