소스 검색

本地调试地址改为内网

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)