removes ResponseStatusDescription and others that aren't used, ports the not found handler, ports redirects, headers, etc...

This commit is contained in:
Shannon
2021-01-06 20:03:49 +11:00
parent f5bd53b223
commit 333479666c
26 changed files with 351 additions and 331 deletions

View File

@@ -37,9 +37,6 @@ namespace Umbraco.Extensions
{
app.UseEndpoints(endpoints =>
{
NoContentRoutes noContentRoutes = app.ApplicationServices.GetRequiredService<NoContentRoutes>();
noContentRoutes.CreateRoutes(endpoints);
endpoints.MapDynamicControllerRoute<UmbracoRouteValueTransformer>("/{**slug}");
});