diff --git a/MyApp/Components/Pages/Docs.razor b/MyApp/Components/Pages/Docs.razor index 64edc71..dde2311 100644 --- a/MyApp/Components/Pages/Docs.razor +++ b/MyApp/Components/Pages/Docs.razor @@ -1,9 +1,6 @@ -@page "/{Slug?}" +@page "/{Slug:regex(^[a-z-_]+$)}" @inherits AppComponentBase @inject MarkdownPages Markdown -@inject AppConfig AppConfig -@using Markdig -@using Markdig.Syntax @if (doc != null) {