tidy logs. Add all files to service worker
This commit is contained in:
@@ -210,7 +210,7 @@ export async function checkPostIds(userID, post_ids) {
|
||||
console.error("Error processing post:", error);
|
||||
}
|
||||
}
|
||||
console.log(`checkPostIds need ${postIdsNeeded.length} posts`);
|
||||
// console.log(`checkPostIds need ${postIdsNeeded.length} posts`);
|
||||
return postIdsNeeded;
|
||||
}
|
||||
catch (error) {
|
||||
|
||||
@@ -14,7 +14,9 @@
|
||||
"IDUtils": "/static/IDUtils.js",
|
||||
"PeerManager": "/static/PeerManager.js",
|
||||
"log": "/static/log.js",
|
||||
"Sync": "/static/Sync.js"
|
||||
"Sync": "/static/Sync.js",
|
||||
"App": "/static/App.js",
|
||||
"dataUtils": "/static/dataUtils.js"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
1105
static/main2.js
1105
static/main2.js
File diff suppressed because it is too large
Load Diff
@@ -11,6 +11,11 @@ const contentToCache = [
|
||||
'/static/db.js',
|
||||
'/static/PeerManager.js',
|
||||
'/static/IDUtils.js',
|
||||
'/static/dataUtils.js',
|
||||
'/static/App.js',
|
||||
'/static/Sync.js',
|
||||
'/static/IDUtils.js',
|
||||
'/static/log.js',
|
||||
'/static/favicon.ico'
|
||||
];
|
||||
self.addEventListener("install", (e) => {
|
||||
|
||||
Reference in New Issue
Block a user