From db93954abd57f7f0abbbbf10d1e66db364acc45a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A3=AE2003?= <2384017988@qq.com> Date: Tue, 4 Aug 2026 16:57:05 +0800 Subject: [PATCH] 1 --- Assets/MyGame/Scripts/Net/APIManager.cs | 5 +---- Assets/MyGame/Scripts/Net/WebSocketManager.cs | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Assets/MyGame/Scripts/Net/APIManager.cs b/Assets/MyGame/Scripts/Net/APIManager.cs index 98cb6957d..90914b23d 100644 --- a/Assets/MyGame/Scripts/Net/APIManager.cs +++ b/Assets/MyGame/Scripts/Net/APIManager.cs @@ -16,10 +16,7 @@ namespace Assets.MyGame.Scripts.Net { public static Dictionary dic_API = new Dictionary(); //public const string baseURL = "http://game5241.wzaxr.top"; -#if ENABLE_LOG_FILE - public const string baseURL = "http://47.109.132.12"; - -#elif NewIP +#if NewIP public const string baseURL = "http://47.109.34.50"; #else diff --git a/Assets/MyGame/Scripts/Net/WebSocketManager.cs b/Assets/MyGame/Scripts/Net/WebSocketManager.cs index 3b87c1df5..29f2ac7b6 100644 --- a/Assets/MyGame/Scripts/Net/WebSocketManager.cs +++ b/Assets/MyGame/Scripts/Net/WebSocketManager.cs @@ -34,11 +34,7 @@ namespace Assets.MyGame.Scripts.Net private readonly Dictionary reconnectCoroutines = new(); private float nextHeartbeatTime; private const float HeartbeatIntervalSeconds = 20f; -#if ENABLE_LOG_FILE - private const string baseUrl = "ws://47.109.132.12"; - - //private const string baseUrl = "ws://game5241.wzaxr.top"; -#elif NewIP +#if NewIP private const string baseUrl = "ws://47.109.34.50"; //private const string baseUrl = "ws://47.109.132.12";