This commit is contained in:
azw 2023-04-24 11:24:59 +00:00
parent 8049cd7da8
commit 1e87e6ddf2

View File

@ -10,19 +10,12 @@
void JsonDataMgr::Init() void JsonDataMgr::Init()
{ {
if (!f8::IsOnlineEnv()) { if (!f8::IsOnlineEnv()) {
if (f8::IsTestEnv()) { work_path_ = a8::Format
work_path_ = a8::Format ("../../../conf_test/game%d/%s",
("../../../conf_test/game%d/wsproxy.test", {
{ GAME_ID,
GAME_ID, f8::IsTestEnv() ? "wsproxy.test" : "wsproxy.dev"
}); });
} else {
work_path_ = a8::Format
("../../../conf_test/game%d/wsproxy.dev",
{
GAME_ID
});
}
} }
std::string wsproxyserver_cluster_json_file; std::string wsproxyserver_cluster_json_file;