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.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 919f9ea6e..d41d0e056 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -245,7 +245,7 @@ const CONSTRAINTS_FIELDS = {
245 CAPTION_FILE: { 245 CAPTION_FILE: {
246 EXTNAME: [ '.vtt', '.srt' ], 246 EXTNAME: [ '.vtt', '.srt' ],
247 FILE_SIZE: { 247 FILE_SIZE: {
248 max: 2 * 1024 * 1024 // 2MB 248 max: 4 * 1024 * 1024 // 4MB
249 } 249 }
250 } 250 }
251 }, 251 },
@@ -274,7 +274,7 @@ const CONSTRAINTS_FIELDS = {
274 IMAGE: { 274 IMAGE: {
275 EXTNAME: [ '.png', '.jpg', '.jpeg', '.webp' ], 275 EXTNAME: [ '.png', '.jpg', '.jpeg', '.webp' ],
276 FILE_SIZE: { 276 FILE_SIZE: {
277 max: 2 * 1024 * 1024 // 2MB 277 max: 4 * 1024 * 1024 // 4MB
278 } 278 }
279 }, 279 },
280 EXTNAME: [] as string[], 280 EXTNAME: [] as string[],
@@ -296,7 +296,7 @@ const CONSTRAINTS_FIELDS = {
296 IMAGE: { 296 IMAGE: {
297 EXTNAME: [ '.jpg', '.jpeg' ], 297 EXTNAME: [ '.jpg', '.jpeg' ],
298 FILE_SIZE: { 298 FILE_SIZE: {
299 max: 2 * 1024 * 1024 // 2MB 299 max: 4 * 1024 * 1024 // 4MB
300 } 300 }
301 } 301 }
302 }, 302 },
@@ -307,7 +307,7 @@ const CONSTRAINTS_FIELDS = {
307 IMAGE: { 307 IMAGE: {
308 EXTNAME: [ '.png', '.jpeg', '.jpg', '.gif', '.webp' ], 308 EXTNAME: [ '.png', '.jpeg', '.jpg', '.gif', '.webp' ],
309 FILE_SIZE: { 309 FILE_SIZE: {
310 max: 2 * 1024 * 1024 // 2MB 310 max: 4 * 1024 * 1024 // 4MB
311 } 311 }
312 } 312 }
313 }, 313 },