diff --git a/CyberBoom/Program.cs b/CyberBoom/Program.cs index 815929c..3df3d27 100644 --- a/CyberBoom/Program.cs +++ b/CyberBoom/Program.cs @@ -26,7 +26,7 @@ var configuration = builder.Configuration; // Add services to the container. builder.Services.AddDbContext(options => - options.UseNpgsql(builder.Configuration.GetConnectionString("DefaultConnection"))); + options.UseNpgsql(builder.Configuration["CONNECTION_STRING"])); builder.Services.AddIdentity() .AddEntityFrameworkStores();