mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Delete remote thumbnails/preview on update
This commit is contained in:
parent
372e15eb49
commit
9f64909fc7
3 changed files with 67 additions and 0 deletions
|
@ -211,6 +211,7 @@ export function updateRemoteVideoThumbnail (options: {
|
|||
|
||||
// Do not change the thumbnail filename if the file did not change
|
||||
if (hasThumbnailUrlChanged(existingThumbnail, fileUrl, video)) {
|
||||
thumbnail.previousThumbnailFilename = thumbnail.filename
|
||||
thumbnail.filename = generatedFilename
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue