重构代码:删除WebSocket代码

This commit is contained in:
Argo-MacBookPro 2018-11-03 11:58:41 +08:00
parent ee6c2447d7
commit 8d59a892ba
1 changed files with 0 additions and 1 deletions

View File

@ -86,7 +86,6 @@ namespace Bootstrap.Client
app.UseCookiePolicy();
app.UseAuthentication();
app.UseBootstrapAdminAuthorization(userName => RoleHelper.RetrieveRolesByUserName(userName), url => RoleHelper.RetrieveRolesByUrl(url));
app.UseWebSocketHandler(options => options.UseAuthentication = true);
app.UseCacheManagerCorsHandler();
app.UseSignalR(routes => { routes.MapHub<SignalRHub>("/NotiHub"); });
app.UseMvc(routes =>