From 32ea690dd48c7622a2dd0ebce580a21f0e603179 Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sat, 7 Oct 2023 22:58:51 -0400 Subject: [PATCH] iteration --- lupdate.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lupdate.lua b/lupdate.lua index 1fca2c6..8ae2939 100644 --- a/lupdate.lua +++ b/lupdate.lua @@ -6,7 +6,7 @@ if program_name == nil then return end -http.get("https://raw.githubusercontent.com/justync7/cc-programs/master/" .. program_name .. ".lua", nil, function(response) +http.get("https://gitea.layla.gg/layla/computercraft/raw/branch/main/" .. program_name .. ".lua", nil, function(response) if response.getResponseCode() == 200 then local file = fs.open(program_name .. ".lua", "w") file.write(response.readAll()) @@ -14,6 +14,7 @@ http.get("https://raw.githubusercontent.com/justync7/cc-programs/master/" .. pro print("Updated " .. program_name .. ".lua") else print("Failed to update " .. program_name .. ".lua") + print(response) end end