mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00: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
@ -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 New Issue
Block a user