Raised public txt file truncation size to 10kb

Signed-off-by: Johannes Koenig <mail@jokoenig.de>
This commit is contained in:
Johannes Koenig 2019-10-08 18:38:49 +02:00
parent b7803665c1
commit 58b93b65d3
1 changed files with 1 additions and 1 deletions

View File

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