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