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