Imaging settings

This commit is contained in:
Bjarke Berg
2020-03-17 17:56:00 +01:00
parent 0efc335e4f
commit 3e75c889ab
8 changed files with 84 additions and 15 deletions

View File

@@ -21,6 +21,7 @@ namespace Umbraco.Web.UI.BackOffice
// For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
public void ConfigureServices(IServiceCollection services)
{
services.AddUmbracoConfiguration();
services.AddUmbracoWebsite();
services.AddUmbracoBackOffice();
}

View File

@@ -9,6 +9,20 @@
"AllowedHosts": "*",
"Umbraco": {
"CMS": {
"Imaging": {
"Resize": {
"MaxWidth": 5000,
"MaxHeight": 5000
},
"CacheFolder" : "../App_Data/Cache",
"Cache": {
"Folder": "../App_Data/Cache",
"MaxBrowserCacheDays": 7,
"MaxCacheDays": 365,
"CachedNameLength": 8
}
},
"HealthChecks": {
"DisabledChecks": [
{