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:
parent
1575be6825
commit
c6d20c84a7
2 changed files with 61 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue