i fucking hate old computercraft
This commit is contained in:
parent
7aaeb91add
commit
aed5b034a9
2 changed files with 7 additions and 4 deletions
|
@ -69,9 +69,11 @@ local function getAllFiles(program)
|
|||
|
||||
print("#DEBUG currentFiles " .. currentFiles)
|
||||
|
||||
local updateResult = http.post(updateUrl, currentFiles, {
|
||||
["Content-Type"] = "text/plain",
|
||||
["Content-Length"] = #currentFiles
|
||||
local updateResult = http.post(updateUrl, {
|
||||
content = currentFiles
|
||||
}, {
|
||||
["Content-Type"] = "text/plain",
|
||||
["Content-Length"] = #currentFiles
|
||||
})
|
||||
if updateResult == nil then
|
||||
print("error! getting updates for " .. program)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue