mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Raised public txt file truncation size to 10kb
Signed-off-by: Johannes Koenig <mail@jokoenig.de>
This commit is contained in:
parent
b7803665c1
commit
58b93b65d3
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue