Browse Source

资源服务器

guodong 1 year ago
parent
commit
7502ce4b3a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      GameClient/Assets/Game/Launcher/Version/VersionController.cs

+ 3 - 1
GameClient/Assets/Game/Launcher/Version/VersionController.cs

@@ -2,6 +2,7 @@
 using System.Collections;
 using UnityEngine;
 using YooAsset;
+using GFGGame.Launcher;
 
 namespace GFGGame
 {
@@ -176,7 +177,8 @@ namespace GFGGame
         /// </summary>
         private string GetHostServerURL(string packageName)
         {
-            string hostServerIP = "http://10.108.64.127";
+            //string hostServerIP = "http://10.108.64.127";
+            string hostServerIP = LauncherConfig.CDN_ROOT;
 
 #if UNITY_EDITOR
             if (UnityEditor.EditorUserBuildSettings.activeBuildTarget == UnityEditor.BuildTarget.Android)