Added environment variables to the configuration load

This commit is contained in:
David Barker
2020-01-24 12:59:04 +08:00
parent 02c6a1c934
commit b159af4e72
@@ -23,7 +23,7 @@ namespace AspNetCore.Identity.MongoDbCore.IntegrationTests.Infrastructure
//per user config that is not committed to repo, use this to override settings (e.g. connection string) based on your local environment. //per user config that is not committed to repo, use this to override settings (e.g. connection string) based on your local environment.
.AddJsonFile($"appsettings.local.json", optional: true); .AddJsonFile($"appsettings.local.json", optional: true);
//builder.AddEnvironmentVariables(); builder.AddEnvironmentVariables();
Configuration = builder.Build(); Configuration = builder.Build();