diff --git a/firmware/konnected-filesystem-0x100000-2-3-0.img b/firmware/konnected-filesystem-0x100000-2-3-0.img index 621066b..057e0d7 100644 Binary files a/firmware/konnected-filesystem-0x100000-2-3-0.img and b/firmware/konnected-filesystem-0x100000-2-3-0.img differ diff --git a/src/lfs/ota.lua b/src/lfs/ota.lua index 0505294..d425df7 100644 --- a/src/lfs/ota.lua +++ b/src/lfs/ota.lua @@ -5,9 +5,9 @@ local function process(request) local uri = request.body.uri local proto, host, path, filename = string.match(uri, "(%w+)://([^/]+)(/[%w%p]+/)(.*)") LFS.http_ota(host, path, filename) - return "" + return '{ "status":"ok", "host":"'.. host ..'", "path":"'.. path ..'", "filename":"'.. filename ..'" }' else - return "bad request" + return '{ "status":"bad request" }' end end