diff --git a/Program.cs b/Program.cs index be71f2f..9019fb8 100644 --- a/Program.cs +++ b/Program.cs @@ -207,7 +207,7 @@ if (!app.Environment.IsDevelopment()) // Re-execute unmatched (404) requests into the branded not-found page app.UseStatusCodePagesWithReExecute("/not-found"); -app.UseStaticFiles(); +app.MapStaticAssets(); app.UseAuthentication(); app.UseAuthorization(); app.UseAntiforgery();