mirror of
https://github.com/jcreek/LivingDexTracker.git
synced 2026-07-13 02:53:45 +00:00
feat(*): Migrate from MongoDB to unified Supabase PostgreSQL architecture
This commit is contained in:
+5
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user