1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

show quota in stats, display quota on the about page, fixes #405 (#421)

move videoQuota under a user object, use byte PipeTransform
This commit is contained in:
Rigel Kent 2018-03-27 13:42:57 +02:00 committed by Chocobozzz
parent fc27b17c6b
commit 1869c87535
5 changed files with 24 additions and 1 deletions

View file

@ -76,6 +76,9 @@ async function getConfig (req: express.Request, res: express.Response, next: exp
file: {
extensions: CONSTRAINTS_FIELDS.VIDEOS.EXTNAME
}
},
user: {
videoQuota: CONFIG.USER.VIDEO_QUOTA
}
}