Revert broken upgrade.

This commit is contained in:
Roger Versluis 2023-11-15 08:53:23 -07:00
parent 5089690f4e
commit 21490ee2d5

View file

@ -174,11 +174,14 @@ try
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
app.MapHub<RdtHub>("/hub");
app.MapControllers();
app.UseEndpoints(endpoints =>
{
endpoints.MapHub<RdtHub>("/hub");
endpoints.MapControllers();
});
app.MapWhen(x => !x.Request.Path.StartsWithSegments("/api"), routeBuilder =>
{