Commit 9b886583 authored by Savorboard's avatar Savorboard

add PathMatch configuration

parent c1ed5f71
......@@ -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>
......
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