LibreOffice: fix server side API bug

This commit is contained in:
DanyLE
2022-09-15 11:58:52 +02:00
parent 6fe3723e48
commit 2c436533f7
8 changed files with 21 additions and 7 deletions

View File

@ -9,6 +9,8 @@ It support a wide range of documents.
![https://github.com/lxsang/antosdk-apps/blob/master/LibreOffice/libreoffice.png?raw=true](https://github.com/lxsang/antosdk-apps/blob/master/LibreOffice/libreoffice.png?raw=true)
## Change log
- v 0.1.2-a:
* Fix server side API error with new backend API
- v 0.1.1-a:
* improve UI handling
* add Save as option

View File

@ -72,8 +72,8 @@ handle.file = function(data)
std.sendFile(path)
return nil
elseif REQUEST.method == "POST" then
local clen = tonumber(HEADER['Content-Length'])
local barr = bytes.unew(REQUEST["octet-stream"],clen)
--local clen = tonumber(HEADER['Content-Length'])
local barr = REQUEST["application/octet-stream"]
bytes.write(barr, path)
return result(true)
else

View File

@ -7,7 +7,7 @@
"author": "Dany LE",
"email": "contact@iohub.dev"
},
"version":"0.1.1-a",
"version":"0.1.2-a",
"category":"Office",
"icon":"icon.png",
"mimes":[