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 a9aacef commit c89fb8aCopy full SHA for c89fb8a
source/_extensions/pwa_service_files/sw.js
@@ -6,7 +6,10 @@ self.addEventListener('install', function(e) {
6
e.waitUntil(
7
caches.open('frc-docs').then(function(cache) {
8
fetch('_static/cache.json')
9
- .then(response => response.json().then(data => cache.addAll(data), console.log(cache.keys())))
+ .then(response => response.json().then(data => {
10
+ cache.addAll(data);
11
+ console.log(cache.keys());
12
+ }))
13
.catch(error => {
14
console.error(error);
15
});
0 commit comments