change port post-build

This commit is contained in:
Andy Killorin 2023-12-20 20:19:09 -06:00
commit 5ba83793b5
Signed by: ank
GPG key ID: B6241CA3B552BCA4

View file

@ -1,5 +1,9 @@
local port = "48228"
local endpoint = "http://" .. ipaddr .. ":" .. port
local endpoint = "http://" .. ipaddr .. ":"
if port then
endpoint = endpoint .. port
else
endpoint = endpoint .. "48228"
end
local args = {...}
local function update()