mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Fix empty thumbnail urls in structured data
This commit is contained in:
parent
9181ed8e13
commit
e4f0e1c8f4
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ function buildVideoStructuredData ( video, featuredApps ) {
|
|||
// console.log('video', video)
|
||||
|
||||
const thumbnailUrls = video.thumbnail.srcset.split(',').map( srcSetImage => {
|
||||
const [ imageUrl ] = srcSetImage.split(' ')
|
||||
const [ imageUrl ] = srcSetImage.trim().split(' ')
|
||||
|
||||
return imageUrl
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue