From 9faa49daa13c555cd85c2490063b22e97b66a4bb Mon Sep 17 00:00:00 2001 From: Ross Miller Date: Sun, 1 Mar 2026 19:22:20 +0000 Subject: [PATCH] Fix --- BudgetApp/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BudgetApp/Program.cs b/BudgetApp/Program.cs index 78c455e..1ad43fa 100644 --- a/BudgetApp/Program.cs +++ b/BudgetApp/Program.cs @@ -62,7 +62,7 @@ if (!app.Environment.IsDevelopment()) // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); } -app.UseStatusCodePagesWithReExecute("/not-found", createScopeForStatusCodePages: true); +app.UseStatusCodePagesWithReExecute("/not-found"); app.UseHttpsRedirection(); app.UseAuthentication();