1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Server: use preview image for opengraph

This commit is contained in:
Chocobozzz 2016-11-11 15:44:08 +01:00
parent 55723d16fd
commit 41b5da1d8c
4 changed files with 19 additions and 8 deletions

View file

@ -67,7 +67,7 @@ const CONSTRAINTS_FIELDS = {
NAME: { min: 3, max: 50 }, // Length
DESCRIPTION: { min: 3, max: 250 }, // Length
MAGNET: {
XT: { min: 10 } // Length
INFO_HASH: { min: 10, max: 50 } // Length
},
DURATION: { min: 1, max: 7200 }, // Number
TAGS: { min: 1, max: 3 }, // Number of total tags