隐藏平台warn,放开自有模块warn

This commit is contained in:
2023-05-16 17:24:07 +08:00
parent 67d599dce6
commit 1cb50e15d2
42 changed files with 66 additions and 28 deletions

View File

@@ -98,7 +98,7 @@ public class Startup : AppStartup
app.UseInject(string.Empty);
//app.MapWebSocketManager("/api/message/websocket", serviceProvider.GetService<IMHandler>());
app.MapWebSocketManager("/websocket", serviceProvider.GetService<IMHandler>());
app.MapWebSocketManager("/websocket", serviceProvider.GetRequiredService<IMHandler>());
app.UseEndpoints(endpoints =>
{