From 0071cf57931792eb2357a1e67a42bcaa9603c567 Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期五, 24 四月 2026 17:23:04 +0800
Subject: [PATCH] 4-24提交
---
项目代码/WIDESEA_WCSServer/WIDESEAWCS_Server/Program.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Server/Program.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Server/Program.cs"
index 6a45be3..1a41b7e 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Server/Program.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Server/Program.cs"
@@ -67,8 +67,8 @@
builder.Services.AddHttpContextSetup();
-ConsoleHelper.WriteSuccessLine("注册SignalR插件");
-builder.Services.AddSignalR();//注册SignalR
+//ConsoleHelper.WriteSuccessLine("注册SignalR插件");
+//builder.Services.AddSignalR();//注册SignalR
if (AppSettings.Get("WebSocketEnable").ObjToBool())
{
@@ -151,7 +151,7 @@
app.UseAuthentication();
app.UseAuthorization();
-app.MapHubs();
+//app.MapHubs();
app.MapControllers();
app.Run();
\ No newline at end of file
--
Gitblit v1.9.3