mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 23:48:27 +08:00
Update ChatHub.cs
if (Appsettings.app(new string[] { "Middleware", "SignalRSendLog", "Enabled" }).ObjToBool())
This commit is contained in:
parent
895b788660
commit
d9aa83e462
|
@ -81,7 +81,7 @@ namespace Blog.Core.Hubs
|
|||
public async Task GetLatestCount(string random)
|
||||
{
|
||||
//2、服务端主动向客户端发送数据,名字千万不能错
|
||||
if (!Appsettings.app(new string[] { "Middleware", "SignalRSendLog", "Enabled" }).ObjToBool())
|
||||
if (Appsettings.app(new string[] { "Middleware", "SignalRSendLog", "Enabled" }).ObjToBool())
|
||||
{
|
||||
await Clients.All.ReceiveUpdate(LogLock.GetLogData());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user