From 46508dc0001c98486d0311e5f5b7e5179201c259 Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Tue, 12 Dec 2023 19:39:18 +0800 Subject: [PATCH] Update Docs.razor --- MyApp/Components/Pages/Docs.razor | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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) {