Fix: thumbnail aspect ratio config in onlyoffice conversion api payload
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m3s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m3s
This commit is contained in:
parent
14af17f487
commit
c9c36cce30
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ func generateOfficeThumbnail(filePath, destPath string, cfg *config.Config) erro
|
||||||
"title": "preview.jpg",
|
"title": "preview.jpg",
|
||||||
"url": fileUrl,
|
"url": fileUrl,
|
||||||
"thumbnail": map[string]interface{}{
|
"thumbnail": map[string]interface{}{
|
||||||
"aspect": 0,
|
"aspect": 1,
|
||||||
"first": true,
|
"first": true,
|
||||||
"width": 1024,
|
"width": 1024,
|
||||||
"height": 1024,
|
"height": 1024,
|
||||||
|
|
|
||||||
Reference in a new issue