This commit is contained in:
2021-11-11 16:23:59 +01:00
parent 9ffd10af2e
commit 05a7b831bb
6 changed files with 35 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
namespace zero.Core.Options
{
public class ApplicationOptions
{
public ApplicationOptions()
{
EnableMultiple = false;
}
public bool EnableMultiple { get; set; }
}
}
+9
View File
@@ -30,6 +30,7 @@ namespace zero.Core.Options
Services = new();
Routing = new();
Interceptors = new();
Applications = new();
Raven.Indexes.Add<Backoffice_Search>();
Raven.Indexes.Add<Media_ByChildren>();
@@ -71,6 +72,9 @@ namespace zero.Core.Options
/// <inheritdoc />
public RavenOptions Raven { get; set; }
/// <inheritdoc />
public ApplicationOptions Applications { get; set; }
/// <inheritdoc />
public string BackofficePath { get; set; }
@@ -156,6 +160,11 @@ namespace zero.Core.Options
/// </summary>
RavenOptions Raven { get; set; }
/// <summary>
/// Application options
/// </summary>
ApplicationOptions Applications { get; set; }
/// <summary>
/// URL path to the backoffice (defaults to /zero)
/// </summary>