diff --git a/src/ScanX.Protocol/Startup.cs b/src/ScanX.Protocol/Startup.cs index 82ab7d3..8f727c9 100644 --- a/src/ScanX.Protocol/Startup.cs +++ b/src/ScanX.Protocol/Startup.cs @@ -33,7 +33,10 @@ public void ConfigureServices(IServiceCollection services) .WithOrigins("*"); })); - services.AddSignalR(); + services.AddSignalR(opt=> + { + opt.EnableDetailedErrors = true; + }); services.AddControllersWithViews(); @@ -67,7 +70,9 @@ public void Configure(IApplicationBuilder app, IHostEnvironment env) name: "default", pattern: "{controller=Home}/{action=Index}/{id?}"); - endpoints.MapHub("/scanx"); + endpoints.MapHub("/scanx",config=> + { + }); }); } }