AB#5822 - Moved config
This commit is contained in:
@@ -1898,7 +1898,7 @@ namespace Umbraco.Tests.Services
|
||||
TypedEventHandler<IContentService, CopyEventArgs<IContent>> copying = (sender, args) =>
|
||||
{
|
||||
args.Copy.SetValue("title", "1");
|
||||
args.Original.SetValue("title", "2");
|
||||
args.Original.SetValue("title", "2");
|
||||
};
|
||||
|
||||
TypedEventHandler<IContentService, CopyEventArgs<IContent>> copied = (sender, args) =>
|
||||
@@ -1911,9 +1911,9 @@ namespace Umbraco.Tests.Services
|
||||
};
|
||||
|
||||
try
|
||||
{
|
||||
{
|
||||
var contentService = ServiceContext.ContentService;
|
||||
|
||||
|
||||
ContentService.Copying += copying;
|
||||
ContentService.Copied += copied;
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace Umbraco.Web.BackOffice.AspNetCore
|
||||
public static IServiceCollection AddRuntimeMinifier(this IServiceCollection services,
|
||||
IConfiguration configuration)
|
||||
{
|
||||
services.AddSmidge(configuration.GetSection("Umbraco:Smidge"));
|
||||
services.AddSmidge(configuration.GetSection(Constants.Configuration.ConfigPrefix+"RuntimeMinification"));
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
"ConnectionStrings": {
|
||||
"umbracoDbDSN": ""
|
||||
},
|
||||
"Logging": {
|
||||
"RuntimeMinification": {
|
||||
"dataFolder" : "../App_Data/Smidge",
|
||||
"version" : "1"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft": "Warning",
|
||||
@@ -84,10 +88,6 @@
|
||||
|
||||
]
|
||||
}
|
||||
},
|
||||
"Smidge": {
|
||||
"dataFolder" : "App_Data/Smidge",
|
||||
"version" : "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user