aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server-config.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-03 11:10:40 +0100
committerChocobozzz <me@florianbigard.com>2018-01-03 11:10:40 +0100
commit01de67b9a4fcdf01102ccc3cb7dc24beebf6c7ea (patch)
tree9e01809f09adbcd512a8dedf73093a123f88e02c /shared/models/server-config.model.ts
parent47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04 (diff)
downloadPeerTube-01de67b9a4fcdf01102ccc3cb7dc24beebf6c7ea.tar.gz
PeerTube-01de67b9a4fcdf01102ccc3cb7dc24beebf6c7ea.tar.zst
PeerTube-01de67b9a4fcdf01102ccc3cb7dc24beebf6c7ea.zip
Add avatar max size limit
Diffstat (limited to 'shared/models/server-config.model.ts')
-rw-r--r--shared/models/server-config.model.ts13
1 files changed, 13 insertions, 0 deletions
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 {
5 transcoding: { 5 transcoding: {
6 enabledResolutions: number[] 6 enabledResolutions: number[]
7 } 7 }
8 avatar: {
9 file: {
10 size: {
11 max: number
12 },
13 extensions: string[]
14 }
15 }
16 video: {
17 file: {
18 extensions: string[]
19 }
20 }
8} 21}