|
@@ -22,6 +22,7 @@ namespace GFGGame
|
|
|
public static string CDN_ROOT;
|
|
|
public static string loginApiUrl;
|
|
|
public static string gameApiUrl;
|
|
|
+ public static string launcherRootUrl;
|
|
|
public static string cfgUrl;
|
|
|
//平台id
|
|
|
public static int platformId = 1;
|
|
@@ -67,11 +68,13 @@ namespace GFGGame
|
|
|
|
|
|
if (cfgName == "cfg_local")
|
|
|
{
|
|
|
- cfgUrl = "http://10.108.64.189:81/platform/{cfgName}.json";
|
|
|
+ launcherRootUrl = "http://10.108.64.189:81/";
|
|
|
+ cfgUrl = launcherRootUrl + "platform/{cfgName}.json";
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- cfgUrl = "http://gfg1.obs.cn-north-4.myhuaweicloud.com/14/platform/{cfgName}.json";
|
|
|
+ launcherRootUrl = "http://gfg1.obs.cn-north-4.myhuaweicloud.com/14/";
|
|
|
+ cfgUrl = launcherRootUrl + "platform/{cfgName}.json";
|
|
|
}
|
|
|
}
|
|
|
|