···2626import type { Directory } from '@wispplace/lexicons/types/place/wisp/fs'
2727import { createLogger } from '@wispplace/observability'
2828import { Elysia } from 'elysia'
2929-import { upsertSite, upsertSiteCache } from '../lib/db'
2929+import { upsertSite } from '../lib/db'
3030import { createIgnoreMatcher, parseWispignore, shouldIgnore } from '../lib/ignore-patterns'
3131import {
3232 addJobListener,
···885885886886 // Store site in database cache
887887 await upsertSite(did, rkey, siteName)
888888-889889- // Cache the site files for the hosting service
890890- try {
891891- const fileCids: Record<string, string> = {}
892892- for (const blob of finalBlobs) {
893893- const normalizedPath = blob.filePath.replace(/^[^/]*\//, '')
894894- fileCids[normalizedPath] = blob.result.hash
895895- }
896896- await upsertSiteCache(did, rkey, record.data.cid, fileCids)
897897- } catch (err) {
898898- // Don't fail the upload if caching fails
899899- logger.warn('Failed to cache site files', err as any)
900900- }
901888902889 // Clean up old subfs records if we had any
903890 if (oldSubfsUris.length > 0) {