Moves AddDistributed cache back to being called implicitly, ensures notification handlers are not added twice

This commit is contained in:
Shannon
2021-01-04 13:22:29 +11:00
parent d46545faa0
commit 34427b0104
5 changed files with 14 additions and 6 deletions

View File

@@ -43,6 +43,8 @@ namespace Umbraco.Web.Website.DependencyInjection
builder.Services.AddScoped<UmbracoRouteValueTransformer>();
builder.Services.AddSingleton<IUmbracoRenderingDefaults, UmbracoRenderingDefaults>();
builder.AddDistributedCache();
return builder;
}