diff --git a/server/robotserver/app.cc b/server/robotserver/app.cc index 8726b0c4..6796cd55 100644 --- a/server/robotserver/app.cc +++ b/server/robotserver/app.cc @@ -29,8 +29,8 @@ void App::Init() #endif mt::MetaMgr::Instance()->Init(); IoMgr::Instance()->Init(); - PlayerMgr::Instance()->Init(); HttpProxy::Instance()->Init(); + PlayerMgr::Instance()->Init(); GGListener::Instance()->Init(); } diff --git a/server/robotserver/httpproxy.cc b/server/robotserver/httpproxy.cc index 9f6ec308..7bc24fca 100644 --- a/server/robotserver/httpproxy.cc +++ b/server/robotserver/httpproxy.cc @@ -125,6 +125,8 @@ std::string HttpProxy::HttpGet( proxy_url_params->SetVal("params", url_params.ToJsonStr()); proxy_url_params->SetVal("cb_url", a8::Format("http://%s:%d/webapp/index.php?c=Proxy&a=callback", { + "192.168.100.21", + 8321 //JsonDataMgr::Instance()->ip, //JsonDataMgr::Instance()->listen_port }));