Browse Source

add PathMatch configuration

master
Savorboard 7 years ago
parent
commit
9b8865836e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/DotNetCore.CAP/Dashboard/CAP.DashboardOptions.cs

+ 3
- 0
src/DotNetCore.CAP/Dashboard/CAP.DashboardOptions.cs View File

@@ -10,6 +10,7 @@ namespace DotNetCore.CAP
public DashboardOptions()
{
AppPath = "/";
PathMatch = "/cap";
Authorization = new[] { new LocalRequestsOnlyAuthorizationFilter() };
StatsPollingInterval = 2000;
}
@@ -19,6 +20,8 @@ namespace DotNetCore.CAP
/// </summary>
public string AppPath { get; set; }

public string PathMatch { get; set; }

public IEnumerable<IDashboardAuthorizationFilter> Authorization { get; set; }

/// <summary>


Loading…
Cancel
Save