diff options
author | Johannes Koenig <mail@jokoenig.de> | 2019-10-08 18:38:49 +0200 |
---|---|---|
committer | Johannes Koenig <mail@jokoenig.de> | 2019-10-08 18:38:49 +0200 |
commit | 58b93b65d3dfdcba35a914904ffd64d9e1cf8e0d (patch) | |
tree | d8475d82a42b8d97d256ad47c41ca07db60cb966 | |
parent | b7803665c1c030378511161dd51c10ac17e6cf6b (diff) | |
download | nextcloud-server-58b93b65d3dfdcba35a914904ffd64d9e1cf8e0d.tar.gz nextcloud-server-58b93b65d3dfdcba35a914904ffd64d9e1cf8e0d.zip |
Raised public txt file truncation size to 10kb
Signed-off-by: Johannes Koenig <mail@jokoenig.de>
-rw-r--r-- | apps/files_sharing/js/public.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |