Skip to content

Commit

Permalink
Agrego print
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasdepetrisd committed Feb 21, 2024
1 parent c3c4134 commit 29e26fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Infraestructure/DependencyInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public static IServiceCollection AddInfraestructure(
{
var connectionString = Environment.GetEnvironmentVariable("DATABASE_URL") ?? configuration.GetConnectionString("FreeASP");

Console.WriteLine(connectionString);

//services.AddDbContext<TiendaContext>(options => options.UseSqlServer(configuration.GetConnectionString("Database")));
services.AddDbContext<TiendaContext>(options => options.UseSqlServer(connectionString));

Expand Down

0 comments on commit 29e26fc

Please sign in to comment.