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

Disallow unlisted video indexation

This commit is contained in:
Chocobozzz 2022-04-08 16:26:38 +02:00
parent 1575be6825
commit c6d20c84a7
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 61 additions and 2 deletions

View file

@ -134,6 +134,7 @@ class ClientHtml {
escapedSiteName: escapeHTML(siteName),
escapedTitle: escapeHTML(title),
escapedDescription: escapeHTML(description),
disallowIndexation: video.privacy !== VideoPrivacy.PUBLIC,
image,
embed,
ogType,
@ -197,6 +198,7 @@ class ClientHtml {
escapedSiteName: escapeHTML(siteName),
escapedTitle: escapeHTML(title),
escapedDescription: escapeHTML(description),
disallowIndexation: videoPlaylist.privacy !== VideoPlaylistPrivacy.PUBLIC,
embed,
image,
list,