From 2c458f8ac3515318e46b110a2480ad196b253be9 Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期五, 27 三月 2026 17:13:45 +0800
Subject: [PATCH] 1
---
WebAPI/Global.asax.cs | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/WebAPI/Global.asax.cs b/WebAPI/Global.asax.cs
index 54ba068..912ff30 100644
--- a/WebAPI/Global.asax.cs
+++ b/WebAPI/Global.asax.cs
@@ -11,15 +11,8 @@
{
protected void Application_Start()
{
- // webSocket 鏈嶅姟
- WebSocketServer.Start();
- GlobalConfiguration.Configure(WebApiConfig.Register);
- }
- // 搴旂敤鍏抽棴鏃讹紝鍋滄鏈嶅姟锛岄槻姝㈡硠闇�
- protected void Application_End()
- {
- WebSocketServer.Stop();
+ GlobalConfiguration.Configure(WebApiConfig.Register);
}
}
}
--
Gitblit v1.9.1