This commit is contained in:
rossmill76 committed 2026-03-01 19:22:20 +00:00
1 parent 565c6841d4
commit 9faa49daa1
1 file changed
+1 -1
+1 -1
View File
@@ -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();