1
This commit is contained in:
parent
8049cd7da8
commit
1e87e6ddf2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user