From 4d1443c2aa83c297770a0b64590222714a98a5f4 Mon Sep 17 00:00:00 2001 From: ruberoid Date: Thu, 28 Mar 2024 13:06:38 +0400 Subject: [PATCH] changed path to secret files for mount purpose. --- .../Infrastructure/HostBuilderFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nocr.TelegramListener.Host/Infrastructure/HostBuilderFactory.cs b/src/Nocr.TelegramListener.Host/Infrastructure/HostBuilderFactory.cs index d4173c3..ddf0ff3 100644 --- a/src/Nocr.TelegramListener.Host/Infrastructure/HostBuilderFactory.cs +++ b/src/Nocr.TelegramListener.Host/Infrastructure/HostBuilderFactory.cs @@ -12,7 +12,7 @@ public class HostBuilderFactory where TStartup : class if (!string.IsNullOrWhiteSpace(baseDirectory)) configurationBuilder.SetBasePath(baseDirectory); - configurationBuilder.AddJsonFile("appsettings.protected.json", true); + configurationBuilder.AddJsonFile(".secrets/appsettings.protected.json", true); }) .ConfigureWebHostDefaults(host => { host.UseStartup(); }) .UseSerilog((ctx, logBuilder) =>