We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d24935 commit 9047df2Copy full SHA for 9047df2
1 file changed
src/XtremeIdiots.Portal.Web/Program.cs
@@ -59,7 +59,12 @@ public static IHostBuilder CreateHostBuilder(string[] args)
59
60
foreach (var keyFilter in appConfigurationKeyFilters)
61
{
62
- appConfig.Select(keyFilter, environmentLabel);
+ var selection = appConfig.Select(keyFilter, environmentLabel);
63
+
64
+ if (keyFilter == "XtremeIdiots.Portal.Web:*")
65
+ {
66
+ selection.TrimKeyPrefix("XtremeIdiots.Portal.Web:");
67
+ }
68
}
69
70
appConfig.Select(KeyFilter.Any, LabelFilter.Null);
0 commit comments