From 29e26fcb35a2da8c48d0a2e1f49017e3aaa0695c Mon Sep 17 00:00:00 2001 From: Lucas Depetris Date: Wed, 21 Feb 2024 17:27:59 -0300 Subject: [PATCH] Agrego print --- src/Infraestructure/DependencyInjection.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Infraestructure/DependencyInjection.cs b/src/Infraestructure/DependencyInjection.cs index 09396af..b2679b8 100644 --- a/src/Infraestructure/DependencyInjection.cs +++ b/src/Infraestructure/DependencyInjection.cs @@ -16,6 +16,8 @@ public static IServiceCollection AddInfraestructure( { var connectionString = Environment.GetEnvironmentVariable("DATABASE_URL") ?? configuration.GetConnectionString("FreeASP"); + Console.WriteLine(connectionString); + //services.AddDbContext(options => options.UseSqlServer(configuration.GetConnectionString("Database"))); services.AddDbContext(options => options.UseSqlServer(connectionString));