Revert broken upgrade.
This commit is contained in:
parent
5089690f4e
commit
21490ee2d5
1 changed files with 7 additions and 4 deletions
|
|
@ -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 =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue