mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Fix import tests
This commit is contained in:
parent
8efc27bf14
commit
53c06121a4
5 changed files with 10 additions and 7 deletions
|
@ -74,7 +74,7 @@ function createVideoMiniatureFromUrl (options: {
|
|||
? existingThumbnail.fileUrl
|
||||
: null
|
||||
|
||||
// If the thumbnail URL did not change and has a unique filename (introduced in 3.2), avoid thumbnail processing
|
||||
// If the thumbnail URL did not change and has a unique filename (introduced in 3.1), avoid thumbnail processing
|
||||
const thumbnailUrlChanged = !existingUrl || existingUrl !== downloadUrl || downloadUrl.endsWith(`${video.uuid}.jpg`)
|
||||
|
||||
// Do not change the thumbnail filename if the file did not change
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue