Skip to content

Commit

Permalink
fix: Remove the environment aspect of the configuration (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
killij authored Feb 14, 2024
1 parent 243922a commit 9766e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Childrens-Social-Care-CPD-Indexer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
builder.Configuration.AddAzureKeyVault(keyVaultUri, new DefaultAzureCredential());
}

builder.Configuration.Bind(builder.Configuration.GetValue<string>("CPD_CONFIG_SECTION_NAME") ?? string.Empty, applicationConfiguration);
builder.Configuration.Bind("IndexingConfig", applicationConfiguration);
builder.Services.AddSingleton<IApplicationConfiguration>(applicationConfiguration);
// Logging

Expand Down

0 comments on commit 9766e70

Please sign in to comment.