tidy logs. Add all files to service worker

This commit is contained in:
2025-05-26 19:09:30 -07:00
parent 125c51b3b7
commit 2ff634ddf0
10 changed files with 36 additions and 2681 deletions

View File

@@ -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) {

View File

@@ -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>

File diff suppressed because it is too large Load Diff

View File

@@ -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) => {