From ddfe6d64720294daa397f0198b937237888f05cd Mon Sep 17 00:00:00 2001 From: Mia Winter Date: Sat, 28 Sep 2024 11:08:41 +0200 Subject: [PATCH] fixed favicons not being served (I hate this https://github.com/dotnet/aspnetcore/issues/52320) --- Components/App.razor | 5 ++++- Components/Pages/Index.razor | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Components/App.razor b/Components/App.razor index f43919a..2529fbc 100644 --- a/Components/App.razor +++ b/Components/App.razor @@ -7,10 +7,13 @@ - + + + + diff --git a/Components/Pages/Index.razor b/Components/Pages/Index.razor index b5c813e..72f70b1 100644 --- a/Components/Pages/Index.razor +++ b/Components/Pages/Index.razor @@ -1,5 +1,5 @@ @page "/" -@page "/{Id}" +@page "/{Id:nonfile}" @using Microsoft.Extensions.Caching.Distributed @inject IDistributedCache Db