Added data protection key persistance
continuous-integration/drone/pr Build is passing

This commit is contained in:
Khwezi Mngoma
2026-06-13 23:51:21 +02:00
parent ec4c9d9689
commit 5204816370
3 changed files with 11 additions and 5 deletions
+1 -2
View File
@@ -2,7 +2,6 @@ using LiteCharms.Features.Extensions;
using LiteCharms.Features.Mediator;
using LiteCharms.Features.MidrandBooks.Extensions;
using LiteCharms.Features.MidrandBooks.Payments;
using Microsoft.AspNetCore.HttpOverrides;
using MidrandBookshop.Components;
using static LiteCharms.Features.Extensions.Quartz;
@@ -15,7 +14,7 @@ builder.AddMonitoring();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddMediator();
builder.Services.AddLiteCharmsWebSecurity(builder.Configuration);
builder.Services.AddLiteCharmsWebSecurity(builder.Configuration, builder.Environment);
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(TelemetryPipelineBehavior<,>));
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(LoggingPipelineBehavior<,>));