Update MvcCachedApplicationConfigurationClient.cs

pull/11006/head
liangshiwei 4 years ago
parent 4dfd99b7f7
commit fa3e23eed7

@ -73,7 +73,7 @@ namespace Volo.Abp.AspNetCore.Mvc.Client
var cacheKey = CreateCacheKey();
var httpContext = HttpContextAccessor?.HttpContext;
if (httpContext != null && !httpContext.WebSockets.IsWebSocketRequest && httpContext.Items[cacheKey] is ApplicationConfigurationDto configuration)
if (httpContext != null && httpContext.Items[cacheKey] is ApplicationConfigurationDto configuration)
{
return configuration;
}

Loading…
Cancel
Save