Adding another location for appsettings file to make it easier with Docker, maybe.
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
67911d2a65
commit
557e5d757c
@ -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