Merge pull request 'Adding another location for appsettings file to make it easier with Docker, maybe.' (#8) from features/alternate-appsettings-path into main
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #8
This commit is contained in:
commit
7cae2600ec
@ -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