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

Reviewed-on: #8
This commit is contained in:
jtom38 2023-06-17 12:04:33 -07:00
commit 7cae2600ec

View File

@ -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();
} }