aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/server-config-manager.ts
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2022-03-16 10:57:36 +0100
committerGitHub <noreply@github.com>2022-03-16 10:57:36 +0100
commit60233e90d280eb865d396b30b63c0e88d13ca7db (patch)
treec30f4abf34d014d647354f9c942fc16f071c0ddb /server/lib/server-config-manager.ts
parentff6a266e3f5cb740770a2a186bdfdd0cb871e174 (diff)
downloadPeerTube-60233e90d280eb865d396b30b63c0e88d13ca7db.tar.gz
PeerTube-60233e90d280eb865d396b30b63c0e88d13ca7db.tar.zst
PeerTube-60233e90d280eb865d396b30b63c0e88d13ca7db.zip
add client.videos.upload.maxChunkSize config (#4857)
* add client.videos.upload.maxChunkSize config * updates after review * remove maxChunkSize from custom-config
Diffstat (limited to 'server/lib/server-config-manager.ts')
-rw-r--r--server/lib/server-config-manager.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/lib/server-config-manager.ts b/server/lib/server-config-manager.ts
index 744186cfc..b920b73d5 100644
--- a/server/lib/server-config-manager.ts
+++ b/server/lib/server-config-manager.ts
@@ -48,6 +48,9 @@ class ServerConfigManager {
48 miniature: { 48 miniature: {
49 displayAuthorAvatar: CONFIG.CLIENT.VIDEOS.MINIATURE.DISPLAY_AUTHOR_AVATAR, 49 displayAuthorAvatar: CONFIG.CLIENT.VIDEOS.MINIATURE.DISPLAY_AUTHOR_AVATAR,
50 preferAuthorDisplayName: CONFIG.CLIENT.VIDEOS.MINIATURE.PREFER_AUTHOR_DISPLAY_NAME 50 preferAuthorDisplayName: CONFIG.CLIENT.VIDEOS.MINIATURE.PREFER_AUTHOR_DISPLAY_NAME
51 },
52 resumableUpload: {
53 maxChunkSize: CONFIG.CLIENT.VIDEOS.RESUMABLE_UPLOAD.MAX_CHUNK_SIZE
51 } 54 }
52 }, 55 },
53 menu: { 56 menu: {