remove body parser altogether
This commit is contained in:
parent
aed5b034a9
commit
3e36e1dd21
2 changed files with 1 additions and 8 deletions
|
@ -69,12 +69,7 @@ local function getAllFiles(program)
|
|||
|
||||
print("#DEBUG currentFiles " .. currentFiles)
|
||||
|
||||
local updateResult = http.post(updateUrl, {
|
||||
content = currentFiles
|
||||
}, {
|
||||
["Content-Type"] = "text/plain",
|
||||
["Content-Length"] = #currentFiles
|
||||
})
|
||||
local updateResult = http.post(updateUrl, currentFiles)
|
||||
if updateResult == nil then
|
||||
print("error! getting updates for " .. program)
|
||||
error()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue