aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
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 /client/src/app
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 'client/src/app')
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
index 5655e48da..c4438d777 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
@@ -282,7 +282,8 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy
282 282
283 this.resumableUploadService.handleFiles(file, { 283 this.resumableUploadService.handleFiles(file, {
284 ...this.uploadxOptions, 284 ...this.uploadxOptions,
285 metadata 285 metadata,
286 maxChunkSize: this.serverConfig.client.videos.resumableUpload.maxChunkSize
286 }) 287 })
287 288
288 this.isUploadingVideo = true 289 this.isUploadingVideo = true