From 1869c87535d31a73a26c5d07718cdf94300cc332 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 27 Mar 2018 13:42:57 +0200 Subject: show quota in stats, display quota on the about page, fixes #405 (#421) move videoQuota under a user object, use byte PipeTransform --- server/controllers/api/config.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/controllers/api') diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts index 62a783982..8d7fc8cf1 100644 --- a/server/controllers/api/config.ts +++ b/server/controllers/api/config.ts @@ -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 } } -- cgit v1.2.3