refactor: remove unused OwaspHeaders middleware from Program.cs
This commit is contained in:
@@ -14,7 +14,6 @@ using Microsoft.AspNetCore.ResponseCompression;
|
|||||||
using Microsoft.AspNetCore.Routing;
|
using Microsoft.AspNetCore.Routing;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
using OwaspHeaders.Core.Extensions;
|
|
||||||
using Scalar.AspNetCore;
|
using Scalar.AspNetCore;
|
||||||
using Shop.Application;
|
using Shop.Application;
|
||||||
using Shop.Core;
|
using Shop.Core;
|
||||||
@@ -129,7 +128,6 @@ app.MapScalarApiReference(scalarOptions =>
|
|||||||
app.UseErrorHandling();
|
app.UseErrorHandling();
|
||||||
app.UseResponseCompression();
|
app.UseResponseCompression();
|
||||||
app.UseHttpsRedirection();
|
app.UseHttpsRedirection();
|
||||||
app.UseSecureHeadersMiddleware();
|
|
||||||
app.UseMiniProfiler();
|
app.UseMiniProfiler();
|
||||||
app.UseCorrelationId();
|
app.UseCorrelationId();
|
||||||
app.UseAuthentication();
|
app.UseAuthentication();
|
||||||
|
|||||||
Reference in New Issue
Block a user