This commit is contained in:
2026-08-04 16:57:05 +08:00
parent 6d4afe6fd1
commit db93954abd
2 changed files with 2 additions and 9 deletions
+1 -4
View File
@@ -16,10 +16,7 @@ namespace Assets.MyGame.Scripts.Net
{ {
public static Dictionary<APIType, string> dic_API = new Dictionary<APIType, string>(); public static Dictionary<APIType, string> dic_API = new Dictionary<APIType, string>();
//public const string baseURL = "http://game5241.wzaxr.top"; //public const string baseURL = "http://game5241.wzaxr.top";
#if ENABLE_LOG_FILE #if NewIP
public const string baseURL = "http://47.109.132.12";
#elif NewIP
public const string baseURL = "http://47.109.34.50"; public const string baseURL = "http://47.109.34.50";
#else #else
@@ -34,11 +34,7 @@ namespace Assets.MyGame.Scripts.Net
private readonly Dictionary<SocketType, Coroutine> reconnectCoroutines = new(); private readonly Dictionary<SocketType, Coroutine> reconnectCoroutines = new();
private float nextHeartbeatTime; private float nextHeartbeatTime;
private const float HeartbeatIntervalSeconds = 20f; private const float HeartbeatIntervalSeconds = 20f;
#if ENABLE_LOG_FILE #if NewIP
private const string baseUrl = "ws://47.109.132.12";
//private const string baseUrl = "ws://game5241.wzaxr.top";
#elif NewIP
private const string baseUrl = "ws://47.109.34.50"; private const string baseUrl = "ws://47.109.34.50";
//private const string baseUrl = "ws://47.109.132.12"; //private const string baseUrl = "ws://47.109.132.12";