things
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace zero.Core.Options
|
||||
{
|
||||
public class ApplicationOptions
|
||||
{
|
||||
public ApplicationOptions()
|
||||
{
|
||||
EnableMultiple = false;
|
||||
}
|
||||
|
||||
|
||||
public bool EnableMultiple { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user