Adding another location for appsettings file to make it easier with Docker, maybe.
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
James Tombleson 2023-06-17 11:59:37 -07:00
parent 67911d2a65
commit 557e5d757c

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