From bbbd59be943caadf7096e7de8324b20de31c63d9 Mon Sep 17 00:00:00 2001 From: JamesFlare1212 Date: Tue, 7 Apr 2026 22:45:10 -0400 Subject: [PATCH] fix(s3): updating clean all files in s3 --- services/cache-manager.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); } }