Fix: SignalR Authorize & Firefox Compatibility
Changes in architecture to support authorization and temporary workaround for NTLM in Firefox (to be removed in SignalR 2.x). Thanks to @davidfowl
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
using Microsoft.AspNet.SignalR;
|
||||
using Disco.BI.Interop.SignalRHandlers;
|
||||
|
||||
namespace Disco.Web
|
||||
{
|
||||
@@ -73,9 +74,9 @@ namespace Disco.Web
|
||||
public static void RegisterUpdateRoutes(RouteCollection routes)
|
||||
{
|
||||
// Task Status SignalR Route
|
||||
routes.MapConnection<Disco.Services.Tasks.ScheduledTasksLiveStatusService>(
|
||||
routes.MapConnection<ScheduledTasksStatusNotifications>(
|
||||
"API_Logging_TaskStatusNotifications",
|
||||
"API/Logging/TaskStatusNotifications");
|
||||
"API/Logging/TaskStatusNotifications", new ConnectionConfiguration(), SignalRAuthenticationWorkaround.AddMiddleware);
|
||||
|
||||
// Task Status Ajax Route
|
||||
routes.MapRoute(
|
||||
|
||||
Reference in New Issue
Block a user