summaryrefslogtreecommitdiffstats
path: root/apps/files/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/app.js')
-rw-r--r--apps/files/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/app.js b/apps/files/js/app.js
index 47011d23f44..6e4e8c1b136 100644
--- a/apps/files/js/app.js
+++ b/apps/files/js/app.js
@@ -93,7 +93,8 @@
direction: $('#defaultFileSortingDirection').val()
},
config: this._filesConfig,
- enableUpload: true
+ enableUpload: true,
+ maxChunkSize: OC.appConfig.files && OC.appConfig.files.max_chunk_size
}
);
this.files.initialize();