🪞 fix: Prevent Revoked Blob URLs in Uploaded Images (FileRow) (#10361)
Some checks are pending
Docker Dev Images Build / build (Dockerfile, librechat-dev, node) (push) Waiting to run
Docker Dev Images Build / build (Dockerfile.multi, librechat-dev-api, api-build) (push) Waiting to run
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions

This commit is contained in:
Danny Avila 2025-11-05 10:28:06 -05:00 committed by GitHub
parent 772b706e20
commit 0f4222a908
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 348 additions and 1 deletions

View file

@ -133,7 +133,7 @@ export default function FileRow({
>
{isImage ? (
<Image
url={file.preview ?? file.filepath}
url={file.progress === 1 ? file.filepath : (file.preview ?? file.filepath)}
onDelete={handleDelete}
progress={file.progress}
source={file.source}