Adding another location for appsettings file to make it easier with Docker, maybe. #8
@ -103,6 +103,7 @@ static IConfiguration GetConfiguration()
|
|||||||
{
|
{
|
||||||
return new ConfigurationBuilder()
|
return new ConfigurationBuilder()
|
||||||
.AddJsonFile("appsettings.json", true)
|
.AddJsonFile("appsettings.json", true)
|
||||||
|
.AddJsonFile("config/appsettings.json", true)
|
||||||
.AddEnvironmentVariables()
|
.AddEnvironmentVariables()
|
||||||
.Build();
|
.Build();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user