diff --git a/Startup.cs b/Startup.cs index 5ffd128..902658b 100644 --- a/Startup.cs +++ b/Startup.cs @@ -29,6 +29,8 @@ namespace LiveGameFeed { // Add framework services. services.AddMvc(); + + services.AddSignalR(options => options.Hubs.EnableDetailedErrors = true); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. @@ -38,6 +40,7 @@ namespace LiveGameFeed loggerFactory.AddDebug(); app.UseMvc(); + app.UseSignalR(); } } }