diff --git a/server/masterserver/jsondatamgr.cc b/server/masterserver/jsondatamgr.cc index a27f775..bcbfe25 100644 --- a/server/masterserver/jsondatamgr.cc +++ b/server/masterserver/jsondatamgr.cc @@ -10,20 +10,22 @@ void JsonDataMgr::Init() std::string masterserver_cluster_json_file; if (!f8::IsOnlineEnv()) { if (f8::IsTestEnv()) { - work_path_ = a8::Format("/root/pub/%d/%d/conf_test/friend/masterserver.test", + work_path_ = a8::Format("/root/pub/%d/%d/conf_test/game%d/masterserver.test", { GAME_ID, App::Instance()->instance_id, + GAME_ID }); } else { - work_path_ = a8::Format("/root/pub/%d/%d/conf_test/friend/masterserver.dev", + work_path_ = a8::Format("/root/pub/%d/%d/conf_test/game%d/masterserver.dev", { GAME_ID, App::Instance()->instance_id, + GAME_ID }); } } - masterserver_cluster_json_file = a8::Format("%s/friend_masterserver.cluster.json", + masterserver_cluster_json_file = a8::Format("%s/node1/game9003.masterserver.cluster.json", { work_path_, });