aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 79e6a744c..5c6d06077 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -291,7 +291,7 @@ const CONSTRAINTS_FIELDS = {
291 PRIVATE_KEY: { min: 10, max: 5000 }, // Length 291 PRIVATE_KEY: { min: 10, max: 5000 }, // Length
292 URL: { min: 3, max: 2000 }, // Length 292 URL: { min: 3, max: 2000 }, // Length
293 AVATAR: { 293 AVATAR: {
294 EXTNAME: [ '.png', '.jpeg', '.jpg' ], 294 EXTNAME: [ '.png', '.jpeg', '.jpg', '.gif' ],
295 FILE_SIZE: { 295 FILE_SIZE: {
296 max: 2 * 1024 * 1024 // 2MB 296 max: 2 * 1024 * 1024 // 2MB
297 } 297 }