From 8d873adac2eae91dc223920a67afa0f435636a1e Mon Sep 17 00:00:00 2001 From: Angelo Pirola Date: Sat, 30 Nov 2024 00:03:03 +0100 Subject: [PATCH] Refactoring --- src/ConfigurazioniSvc/ConfigurazioniSvc/Program.cs | 2 ++ 1 file changed, 2 insertions(+) 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);