瀏覽代碼

本地调试地址改为内网

guodong 2 年之前
父節點
當前提交
c667aae591
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      GameClient/Assets/Game/Launcher/LauncherConfig.cs

+ 8 - 2
GameClient/Assets/Game/Launcher/LauncherConfig.cs

@@ -71,8 +71,14 @@ namespace GFGGame
 #else
             ChannelId = 101;
 #endif
-
-            cfgUrl = "http://gfg1.obs.cn-north-4.myhuaweicloud.com/14/platform/{cfgName}.json";
+            if(cfgName == "cfg_local")
+            {
+                cfgUrl = "http://10.108.64.189:81/platform/{cfgName}.json";
+            }
+            else
+            {
+                cfgUrl = "http://gfg1.obs.cn-north-4.myhuaweicloud.com/14/platform/{cfgName}.json";
+            }
         }
 
         public static void InitPlatform(string json)