Switch Hosted template to UseBlazor<Startup> for consistency with server-side template. Fixes #1473

This commit is contained in:
Steve Sanderson 2018-09-24 16:25:29 +01:00
parent 86b532cd47
commit 0942b5aa0d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
using Microsoft.AspNetCore.Blazor.Server;
using Microsoft.AspNetCore.Blazor.Server;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.ResponseCompression;
@ -42,7 +42,7 @@ namespace BlazorHosted_CSharp.Server
routes.MapRoute(name: "default", template: "{controller}/{action}/{id?}");
});
app.UseBlazor<Client.Program>();
app.UseBlazor<Client.Startup>();
}
}
}