change server ip

This commit is contained in:
Particle_G
2020-11-25 21:10:40 +08:00
committed by MrZ626
parent b924656abd
commit a2e3301dfd
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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