Skip to content

Commit bd42c65

Browse files
committed
Update (BC 1127730)
1 parent 570e053 commit bd42c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asp-net-core-server/Startup.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env) {
5757
app.UseCors("CorsPolicy");
5858
app.UseEndpoints(endpoints => {
5959
// Maps the dashboard route.
60-
EndpointRouteBuilderExtension.MapDashboardRoute(endpoints, "api/dashboard", "DefaultDashboard");
60+
endpoints.MapDashboardRoute("api/dashboard", "DefaultDashboard");
6161
// Requires CORS policies.
6262
endpoints.MapControllers().RequireCors("CorsPolicy");
6363
});

0 commit comments

Comments
 (0)