v14: Remove mentions of UmbracoApiController (#15863)

* Remove mentions of UmbracoApiController

* Remove last mentions of UmbracoApi controller
This commit is contained in:
Nikolaj Geisle
2024-03-19 14:42:08 +01:00
committed by GitHub
parent 08783c6065
commit 30e2dea57a
17 changed files with 3 additions and 626 deletions

View File

@@ -290,10 +290,6 @@ public static partial class UmbracoBuilderExtensions
builder.Services.AddUnique<IUmbracoContextFactory, UmbracoContextFactory>();
builder.Services.AddUnique<IBackOfficeSecurityAccessor, BackOfficeSecurityAccessor>();
var umbracoApiControllerTypes = builder.TypeLoader.GetUmbracoApiControllers().ToList();
builder.WithCollectionBuilder<UmbracoApiControllerTypeCollectionBuilder>()
.Add(umbracoApiControllerTypes);
builder.Services.AddSingleton<UmbracoRequestLoggingMiddleware>();
builder.Services.AddSingleton<PreviewAuthenticationMiddleware>();
builder.Services.AddSingleton<UmbracoRequestMiddleware>();