|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
namespace Volo.CmsKit.Pages; |
|
|
|
|
|
|
|
public class PageConsts |
|
|
|
public static class PageConsts |
|
|
|
{ |
|
|
|
public const string EntityType = "Page"; |
|
|
|
|
|
|
|
@ -16,7 +16,7 @@ public class PageConsts |
|
|
|
|
|
|
|
public static int MaxStyleLength { get; set; } = int.MaxValue; |
|
|
|
|
|
|
|
private static string _urlPrefix = "/pages/"; |
|
|
|
private static string _urlPrefix = "/"; |
|
|
|
public static string UrlPrefix { |
|
|
|
get => _urlPrefix; |
|
|
|
set => _urlPrefix = value.EnsureEndsWith('/').EnsureStartsWith('/'); |
|
|
|
|