change port post-build
This commit is contained in:
parent
6b42ac19d1
commit
5ba83793b5
1 changed files with 58 additions and 29 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue