Skip to content

Commit ab5bb79

Browse files
authored
Update HTTP request pipeline config remarks (#36421)
1 parent cb95847 commit ab5bb79

File tree

1 file changed

+2
-2
lines changed
  • aspnetcore/blazor/tutorials/movie-database-app

1 file changed

+2
-2
lines changed

aspnetcore/blazor/tutorials/movie-database-app/part-1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,9 @@ var app = builder.Build();
286286

287287
Next, the HTTP request pipeline is configured.
288288

289-
In the development environment:
289+
When the app isn't running in the `Development` environment:
290290

291-
* Exception Handler Middleware (<xref:Microsoft.AspNetCore.Builder.ExceptionHandlerExtensions.UseExceptionHandler%2A>) processes errors and displays a developer exception page during development app runs.
291+
* Exception Handler Middleware (<xref:Microsoft.AspNetCore.Builder.ExceptionHandlerExtensions.UseExceptionHandler%2A>) processes errors and displays a custom error page.
292292
* [HTTP Strict Transport Security Protocol (HSTS) Middleware](xref:security/enforcing-ssl#http-strict-transport-security-protocol-hsts) (<xref:Microsoft.AspNetCore.Builder.HstsBuilderExtensions.UseHsts%2A>) processes [HSTS](https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Strict_Transport_Security_Cheat_Sheet.html).
293293

294294
```csharp

0 commit comments

Comments
 (0)