mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add avatar max size limit
This commit is contained in:
@@ -5,4 +5,17 @@ export interface ServerConfig {
|
||||
transcoding: {
|
||||
enabledResolutions: number[]
|
||||
}
|
||||
avatar: {
|
||||
file: {
|
||||
size: {
|
||||
max: number
|
||||
},
|
||||
extensions: string[]
|
||||
}
|
||||
}
|
||||
video: {
|
||||
file: {
|
||||
extensions: string[]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user