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();