Merge pull request #17471 from nextcloud/bugfix/15951/public-txt-truncation-size

Raised public txt file truncation size to 10kb (#15951)
pull/17480/head
Roeland Jago Douma 2019-10-08 20:52:39 +07:00 committed by GitHub
commit cafa2b5ef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -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);