diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-10-08 20:52:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-08 20:52:39 +0200 |
commit | cafa2b5ef03c987d52df4bc2ebe7438a5cb22350 (patch) | |
tree | 7fcc0bfee3dd69073243dc7ca7963003e0d5f661 /apps | |
parent | 77d16990a323db2aafe0c173c07b3ecb4f170210 (diff) | |
parent | 58b93b65d3dfdcba35a914904ffd64d9e1cf8e0d (diff) | |
download | nextcloud-server-cafa2b5ef03c987d52df4bc2ebe7438a5cb22350.tar.gz nextcloud-server-cafa2b5ef03c987d52df4bc2ebe7438a5cb22350.zip |
Merge pull request #17471 from nextcloud/bugfix/15951/public-txt-truncation-size
Raised public txt file truncation size to 10kb (#15951)
Diffstat (limited to 'apps')
-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); |