Added environment variables to the configuration load
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user