change server ip
This commit is contained in:
@@ -169,7 +169,7 @@ do--httpRequest
|
||||
client and function(tick,path,method,header,body)
|
||||
local task,err=client.httpraw{
|
||||
-- url="http://47.103.200.40/"..path,
|
||||
url="http://127.0.0.1:10026"..path,
|
||||
url="http://krakens.tpddns.cn:10026"..path,
|
||||
method=method or"GET",
|
||||
header=header,
|
||||
body=body,
|
||||
|
||||
@@ -157,7 +157,7 @@ function Tick.httpREQ_login(data)
|
||||
if success then
|
||||
LOG.print(text.loginSuccessed..": "..content.message)
|
||||
-- TODO: save {content.token} to storage and a global variable
|
||||
-- TODO: save {content.user_id} to a global variable
|
||||
-- TODO: save {content.id} to a global variable
|
||||
else
|
||||
LOG.print(text.jsonError,"warn")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user