mirror of
https://github.com/langgenius/dify.git
synced 2026-04-09 00:00:25 -04:00
Previously, media files were fetched via getFileContent API which decodes binary data as UTF-8, resulting in corrupted strings that cannot be used as img/video src. Now media files use getFileDownloadUrl API to get a presigned URL, enabling proper preview of images and videos of any size.