Adding another location for appsettings file to make it easier with Docker, maybe. #8

Merged
jtom38 merged 1 commits from features/alternate-appsettings-path into main 2023-06-17 12:04:34 -07:00
Showing only changes of commit 557e5d757c - Show all commits

View File

@ -103,6 +103,7 @@ static IConfiguration GetConfiguration()
{
return new ConfigurationBuilder()
.AddJsonFile("appsettings.json", true)
.AddJsonFile("config/appsettings.json", true)
.AddEnvironmentVariables()
.Build();
}