diff --git a/server/masterserver/jsondatamgr.cc b/server/masterserver/jsondatamgr.cc index 0e11798..7f7d906 100644 --- a/server/masterserver/jsondatamgr.cc +++ b/server/masterserver/jsondatamgr.cc @@ -10,17 +10,13 @@ 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/game%d/masterserver.test", + work_path_ = a8::Format("../../../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/game%d/masterserver.dev", + work_path_ = a8::Format("../../../conf_test/game%d/masterserver.dev", { - GAME_ID, - App::Instance()->instance_id, GAME_ID }); }