From 557e5d757cd7605d86cb8af3e336b2a9a3baa8bd Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sat, 17 Jun 2023 11:59:37 -0700 Subject: [PATCH] Adding another location for appsettings file to make it easier with Docker, maybe. --- Newsbot.Collector.Api/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Newsbot.Collector.Api/Program.cs b/Newsbot.Collector.Api/Program.cs index 04c1b6c..534230a 100644 --- a/Newsbot.Collector.Api/Program.cs +++ b/Newsbot.Collector.Api/Program.cs @@ -103,6 +103,7 @@ static IConfiguration GetConfiguration() { return new ConfigurationBuilder() .AddJsonFile("appsettings.json", true) + .AddJsonFile("config/appsettings.json", true) .AddEnvironmentVariables() .Build(); } -- 2.45.2