|
|
|
@ -61,10 +61,10 @@ namespace Volo.CmsKit.Public.Web |
|
|
|
{ |
|
|
|
Configure<RazorPagesOptions>(options => |
|
|
|
{ |
|
|
|
//if (GlobalFeatureManager.Instance.IsEnabled<PagesFeature>())
|
|
|
|
//{
|
|
|
|
// options.Conventions.AddPageRoute("/CmsKit/Pages/Index", @"{*pageUrl:minlength(1)}");
|
|
|
|
//}
|
|
|
|
if (GlobalFeatureManager.Instance.IsEnabled<PagesFeature>()) |
|
|
|
{ |
|
|
|
options.Conventions.AddPageRoute("/CmsKit/Pages/Index", @"{*pageUrl:minlength(1)}"); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|