Simplify UmbracoBuilder setup

This commit is contained in:
Paul Johnson
2020-11-19 09:06:04 +00:00
parent aec25d5007
commit 48b61ec4c4
15 changed files with 271 additions and 312 deletions

View File

@@ -34,8 +34,8 @@ namespace Umbraco.Web.UI.NetCore
{
var umbracoBuilder = services.AddUmbraco(_config);
umbracoBuilder
.WithAllBackOfficeComponents(_env)
.WithAllWebsiteComponents()
.AddAllBackOfficeComponents(_env)
.AddUmbracoWebsite()
.Build();
}