修改HttpServer

This commit is contained in:
ZYT
2026-02-12 10:24:48 +08:00
parent 90c2566e97
commit 8fd366a8eb

View File

@ -61,11 +61,7 @@ public class HttpServer : MonoBehaviour
listener.Start();
isRunning = true;
serverThread = new Thread(ListenLoop)
{
IsBackground = true
};
serverThread.Start();
ListenLoop();
Debug.Log($"✅ HTTP Server 启动成功:{SERVER_URL}");
}