From cd0551534d8aaf3d3d5cc1727dfcc01d0637c6b2 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sun, 12 Apr 2026 18:02:56 +0200 Subject: Run formatter, split code in backend --- src/Enmarcha.Backend/Program.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/Enmarcha.Backend/Program.cs') diff --git a/src/Enmarcha.Backend/Program.cs b/src/Enmarcha.Backend/Program.cs index 9bc0eb3..7f8574b 100644 --- a/src/Enmarcha.Backend/Program.cs +++ b/src/Enmarcha.Backend/Program.cs @@ -13,6 +13,8 @@ using Microsoft.EntityFrameworkCore; using OpenTelemetry.Logs; using OpenTelemetry.Resources; using OpenTelemetry.Trace; +using Enmarcha.Backend.Services.Processors.Normalisation; +using Enmarcha.Backend.Services.Processors.RealTime; var builder = WebApplication.CreateBuilder(args); @@ -153,7 +155,8 @@ builder.Services.AddAuthentication(options => options.DefaultScheme = "Backoffice"; options.DefaultChallengeScheme = "Auth0"; }) - .AddCookie("Backoffice", options => { + .AddCookie("Backoffice", options => + { options.LoginPath = "/backoffice/auth/login"; options.Cookie.SameSite = SameSiteMode.None; options.Cookie.SecurePolicy = CookieSecurePolicy.Always; @@ -216,7 +219,10 @@ builder.Services.AddScoped(); builder.Services.AddScoped(); builder.Services.AddScoped(); builder.Services.AddScoped(); -builder.Services.AddScoped(); +builder.Services.AddScoped(); +builder.Services.AddScoped(); +builder.Services.AddScoped(); +builder.Services.AddScoped(); builder.Services.AddScoped(); // builder.Services.AddKeyedScoped("Nominatim"); -- cgit v1.3