mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Merge pull request #17471 from nextcloud/bugfix/15951/public-txt-truncation-size
Raised public txt file truncation size to 10kb (#15951)
This commit is contained in:
commit
cafa2b5ef0
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