diff --git a/projects/updater/update.lua b/projects/updater/update.lua index f09c2b1..fdafeca 100644 --- a/projects/updater/update.lua +++ b/projects/updater/update.lua @@ -69,7 +69,10 @@ local function getAllFiles(program) print("#DEBUG currentFiles " .. currentFiles) - local updateResult = http.post(updateUrl, currentFiles) + local updateResult = http.post(updateUrl, currentFiles, { + ["Content-Type"] = "text/plain", + ["Content-Length"] = #currentFiles + }) if updateResult == nil then print("error! getting updates for " .. program) error()