aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Program.cs')
-rw-r--r--src/slskd/Program.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index 062d3a48..987a39a0 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -340,6 +340,7 @@ namespace slskd
prefix: environmentVariablePrefix)
.AddYamlFile(
path: Path.GetFileName(configurationFile),
+ targetType: typeof(Options),
optional: true,
reloadOnChange: false,
provider: new PhysicalFileProvider(Path.GetDirectoryName(configurationFile), ExclusionFilters.None)) // required for locations outside of the app directory