diff --git a/services/cache-manager.ts b/services/cache-manager.ts index 36262c0..26629a9 100644 --- a/services/cache-manager.ts +++ b/services/cache-manager.ts @@ -299,9 +299,7 @@ export async function cleanupOrphanedS3Images(): Promise { if (activityData && typeof activityData.photo === 'string' && - activityData.photo.startsWith('http') && - S3_ENDPOINT && - activityData.photo.startsWith(S3_ENDPOINT)) { + activityData.photo.startsWith('http')) { referencedS3Urls.add(activityData.photo); } }