aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-14 08:47:27 +0100
committerChocobozzz <me@florianbigard.com>2022-01-14 08:47:27 +0100
commitce7c099f0e36f00d88f7082dd7e158197d3146dd (patch)
tree2e76eed58b00308737318fcdef45614c5b987e78 /server/initializers
parent3726c3725506d0f8a26ded34f42d7bcfb5d0e639 (diff)
downloadPeerTube-ce7c099f0e36f00d88f7082dd7e158197d3146dd.tar.gz
PeerTube-ce7c099f0e36f00d88f7082dd7e158197d3146dd.tar.zst
PeerTube-ce7c099f0e36f00d88f7082dd7e158197d3146dd.zip
Increase captions max size
Diffstat (limited to 'server/initializers')
-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 c899812a6..12c42b5e0 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -265,7 +265,7 @@ const CONSTRAINTS_FIELDS = {
265 CAPTION_FILE: { 265 CAPTION_FILE: {
266 EXTNAME: [ '.vtt', '.srt' ], 266 EXTNAME: [ '.vtt', '.srt' ],
267 FILE_SIZE: { 267 FILE_SIZE: {
268 max: 4 * 1024 * 1024 // 4MB 268 max: 20 * 1024 * 1024 // 20MB
269 } 269 }
270 } 270 }
271 }, 271 },