Changed ip
This commit is contained in:
4
main.lua
4
main.lua
@@ -3,7 +3,7 @@ local packageStoreageUrl = "/packages"
|
||||
|
||||
|
||||
if args[1] == "list" then
|
||||
local res = http.get("http://192.168.178.24:7000/api/repo/list")
|
||||
local res = http.get("http://85.214.239.211:7000/api/repo/list")
|
||||
local ds = res.readAll()
|
||||
print(ds)
|
||||
local json = textutils.unserializeJSON(ds)
|
||||
@@ -16,7 +16,7 @@ if args[1] == "install" then
|
||||
print("Package already installed!")
|
||||
return;
|
||||
end
|
||||
local ws, stat = http.websocket("ws://192.168.178.24:7000/repo/install")
|
||||
local ws, stat = http.websocket("ws://85.214.239.211:7000/repo/install")
|
||||
local msg = {
|
||||
repoName = args[2]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user