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()
{
if (!f8::IsOnlineEnv()) {
if (f8::IsTestEnv()) {
work_path_ = a8::Format
("../../../conf_test/game%d/wsproxy.test",
{
GAME_ID,
});
} else {
work_path_ = a8::Format
("../../../conf_test/game%d/wsproxy.dev",
{
GAME_ID
});
}
work_path_ = a8::Format
("../../../conf_test/game%d/%s",
{
GAME_ID,
f8::IsTestEnv() ? "wsproxy.test" : "wsproxy.dev"
});
}
std::string wsproxyserver_cluster_json_file;