aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/controllers/api/config.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts
index 89163edb3..532afb8c0 100644
--- a/server/controllers/api/config.ts
+++ b/server/controllers/api/config.ts
@@ -61,6 +61,12 @@ async function getConfig (req: express.Request, res: express.Response, next: exp
61 } 61 }
62 }, 62 },
63 video: { 63 video: {
64 image: {
65 extensions: CONSTRAINTS_FIELDS.VIDEOS.IMAGE.EXTNAME,
66 size: {
67 max: CONSTRAINTS_FIELDS.VIDEOS.IMAGE.FILE_SIZE.max
68 }
69 },
64 file: { 70 file: {
65 extensions: CONSTRAINTS_FIELDS.VIDEOS.EXTNAME 71 extensions: CONSTRAINTS_FIELDS.VIDEOS.EXTNAME
66 } 72 }