Commit 9b886583 authored by Savorboard's avatar Savorboard

add PathMatch configuration

parent c1ed5f71
...@@ -10,6 +10,7 @@ namespace DotNetCore.CAP ...@@ -10,6 +10,7 @@ namespace DotNetCore.CAP
public DashboardOptions() public DashboardOptions()
{ {
AppPath = "/"; AppPath = "/";
PathMatch = "/cap";
Authorization = new[] { new LocalRequestsOnlyAuthorizationFilter() }; Authorization = new[] { new LocalRequestsOnlyAuthorizationFilter() };
StatsPollingInterval = 2000; StatsPollingInterval = 2000;
} }
...@@ -19,6 +20,8 @@ namespace DotNetCore.CAP ...@@ -19,6 +20,8 @@ namespace DotNetCore.CAP
/// </summary> /// </summary>
public string AppPath { get; set; } public string AppPath { get; set; }
public string PathMatch { get; set; }
public IEnumerable<IDashboardAuthorizationFilter> Authorization { get; set; } public IEnumerable<IDashboardAuthorizationFilter> Authorization { get; set; }
/// <summary> /// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment