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

Add ability to update thumbnail and preview on client

This commit is contained in:
Chocobozzz 2018-02-16 16:35:32 +01:00
parent b6a4fd6b09
commit 6de3676898
No known key found for this signature in database
GPG key ID: 583A612D890159BE
20 changed files with 274 additions and 137 deletions

View file

@ -61,6 +61,12 @@ async function getConfig (req: express.Request, res: express.Response, next: exp
}
},
video: {
image: {
extensions: CONSTRAINTS_FIELDS.VIDEOS.IMAGE.EXTNAME,
size: {
max: CONSTRAINTS_FIELDS.VIDEOS.IMAGE.FILE_SIZE.max
}
},
file: {
extensions: CONSTRAINTS_FIELDS.VIDEOS.EXTNAME
}