This commit is contained in:
azw 2023-11-06 05:47:21 +00:00
parent f797e73be9
commit 38d534d6cf

View File

@ -10,17 +10,13 @@ void JsonDataMgr::Init()
std::string masterserver_cluster_json_file; std::string masterserver_cluster_json_file;
if (!f8::IsOnlineEnv()) { if (!f8::IsOnlineEnv()) {
if (f8::IsTestEnv()) { 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 GAME_ID
}); });
} else { } 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 GAME_ID
}); });
} }