1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Use indexifembedded for embeds

This commit is contained in:
Chocobozzz 2025-03-31 16:34:41 +02:00
parent 5ce0b0f65d
commit f0f44e1704
No known key found for this signature in database
GPG key ID: 583A612D890159BE
7 changed files with 56 additions and 48 deletions

View file

@ -12,5 +12,5 @@ export function buildEmptyEmbedHTML (options: {
let htmlResult = TagsHtml.addTitleTag(html)
htmlResult = TagsHtml.addDescriptionTag(htmlResult)
return TagsHtml.addTags(htmlResult, { forbidIndexation: true }, { playlist, video })
return TagsHtml.addTags(htmlResult, { forbidIndexation: true, embedIndexation: true }, { playlist, video })
}