diff --git a/MementoMori.WebUI/Program.cs b/MementoMori.WebUI/Program.cs index 80d7f9a..6dada0a 100644 --- a/MementoMori.WebUI/Program.cs +++ b/MementoMori.WebUI/Program.cs @@ -94,7 +94,7 @@ public static void Main(string[] args) // Configure the HTTP request pipeline. if (!app.Environment.IsDevelopment()) app.UseExceptionHandler("/Error"); - app.MapStaticAssets(); + app.UseStaticFiles(); app.UseAntiforgery(); app.MapRazorComponents() .AddAdditionalAssemblies(typeof(Index).Assembly)