Skip to content

Commit

Permalink
Remove unused field
Browse files Browse the repository at this point in the history
Remove unused field from middleware.
  • Loading branch information
martincostello committed Apr 26, 2024
1 parent d0cb7d5 commit b756024
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Website/Middleware/CustomHttpHeadersMiddleware.cs
Expand Up @@ -19,11 +19,6 @@ public sealed class CustomHttpHeadersMiddleware
/// </summary>
private readonly RequestDelegate _next;

/// <summary>
/// The <see cref="IConfiguration"/> to use. This field is read-only.
/// </summary>
private readonly IConfiguration _config;

/// <summary>
/// The current <c>Content-Security-Policy</c> HTTP response header value. This field is read-only.
/// </summary>
Expand Down Expand Up @@ -63,7 +58,6 @@ public sealed class CustomHttpHeadersMiddleware
IOptions<SiteOptions> options)
{
_next = next;
_config = config;

_isProduction = environment.IsProduction();
_environmentName = config.AzureEnvironment();
Expand Down

0 comments on commit b756024

Please sign in to comment.