@ -28,8 +28,11 @@ namespace Squidex.Config.Domain
services.Configure<AssetOptions>(
config.GetSection("assets"));
services.AddTransientAs<RecursiveDeleter>()
.As<IEventConsumer>();
if (config.GetValue<bool>("assets:deleteRecursive"))
{
}
services.AddTransientAs<AssetDomainObject>()
.AsSelf();
@ -217,7 +217,11 @@
/*
* The maximum file size in bytes. Default: 5MB
*/
"maxSize": 5242880
"maxSize": 5242880,
* True to delete assets recursively.
"deleteRecursive": false
},
"logging": {