From 01de67b9a4fcdf01102ccc3cb7dc24beebf6c7ea Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 3 Jan 2018 11:10:40 +0100 Subject: Add avatar max size limit --- shared/models/server-config.model.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'shared') diff --git a/shared/models/server-config.model.ts b/shared/models/server-config.model.ts index 8de808e60..d0b2e40de 100644 --- a/shared/models/server-config.model.ts +++ b/shared/models/server-config.model.ts @@ -5,4 +5,17 @@ export interface ServerConfig { transcoding: { enabledResolutions: number[] } + avatar: { + file: { + size: { + max: number + }, + extensions: string[] + } + } + video: { + file: { + extensions: string[] + } + } } -- cgit v1.2.3