diff --git a/src/ConfigurazioniSvc/ConfigurazioniSvc/Program.cs b/src/ConfigurazioniSvc/ConfigurazioniSvc/Program.cs index b6fad62..3539a78 100644 --- a/src/ConfigurazioniSvc/ConfigurazioniSvc/Program.cs +++ b/src/ConfigurazioniSvc/ConfigurazioniSvc/Program.cs @@ -36,6 +36,8 @@ public static async Task Main(string[] args) builder.Services.ConfigureApiVersioning(); builder.Services.ConfigureSwagger(); + builder.Services.AddAntiforgery(); + builder.Services.ConfigureProblemDetails(); builder.Services.ConfigureRedisCache(builder.Configuration, redisConnection);