feat(*): Migrate from MongoDB to unified Supabase PostgreSQL architecture

This commit is contained in:
Josh Creek
2025-07-26 18:50:05 +01:00
parent 70f7bbdffc
commit bc9ce84615
20 changed files with 2413 additions and 269 deletions
+5 -1
View File
@@ -20,7 +20,11 @@ self.addEventListener('message', (event) => {
precache([{ url: '/', revision: null }]);
// self.__WB_MANIFEST is default injection point
precacheAndRoute(self.__WB_MANIFEST);
// Handle the case where __WB_MANIFEST might be undefined in development
const manifest = self.__WB_MANIFEST || [];
if (Array.isArray(manifest)) {
precacheAndRoute(manifest);
}
// clean old assets
cleanupOutdatedCaches();