mirror of https://github.com/Chocobozzz/PeerTube
Don't need contentUrl if embedUrl is set
parent
00e0d15611
commit
374820f2c0
|
@ -245,7 +245,6 @@ export class TagsHtml {
|
||||||
if (tags.embed.duration) schema['duration'] = tags.embed.duration
|
if (tags.embed.duration) schema['duration'] = tags.embed.duration
|
||||||
|
|
||||||
schema['thumbnailUrl'] = tags.image.url
|
schema['thumbnailUrl'] = tags.image.url
|
||||||
schema['contentUrl'] = tags.url
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return Hooks.wrapObject(schema, 'filter:html.client.json-ld.result', context)
|
return Hooks.wrapObject(schema, 'filter:html.client.json-ld.result', context)
|
||||||
|
|
Loading…
Reference in New Issue