From 58b93b65d3dfdcba35a914904ffd64d9e1cf8e0d Mon Sep 17 00:00:00 2001 From: Johannes Koenig Date: Tue, 8 Oct 2019 18:38:49 +0200 Subject: [PATCH] Raised public txt file truncation size to 10kb Signed-off-by: Johannes Koenig --- apps/files_sharing/js/public.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index b4f76ca0678..22685bd9941 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -164,7 +164,7 @@ OCA.Sharing.PublicApp = { url: url, headers: { Authorization: 'Basic ' + btoa(token + ':'), - Range: 'bytes=0-1000' + Range: 'bytes=0-10000' } }).then(function (data) { self._showTextPreview(data, previewHeight);