diff --git a/server/wsproxy/jsondatamgr.cc b/server/wsproxy/jsondatamgr.cc index a017d61..3d04cc6 100644 --- a/server/wsproxy/jsondatamgr.cc +++ b/server/wsproxy/jsondatamgr.cc @@ -36,29 +36,29 @@ void JsonDataMgr::Init() wsproxyserver_cluster_json_file = a8::Format("%s/node%d/game%d.wsproxy.cluster.json", { work_path_, - GAME_ID, App::Instance()->node_id, GAME_ID }); masterserver_cluster_json_file = a8::Format("%s/node%d/game%d.masterserver.cluster.json", { work_path_, - GAME_ID, App::Instance()->node_id, GAME_ID }); routing_tables_json_file = a8::Format("%s/routing_tables.json", { - GAME_ID + work_path_ }); #else std::string targetserver_cluster_json_file; wsproxyserver_cluster_json_file = a8::Format("%s/game%d.wsproxy.cluster.json", { + work_path_, GAME_ID }); targetserver_cluster_json_file = a8::Format("%s/game%d.gameserver.cluster.json", { + work_path_, GAME_ID }); #endif