aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 063da9e6..05331cd4 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1391,8 +1391,7 @@ namespace slskd
[EnvironmentVariable("CONTENT_PATH")]
[Description("path to static web content")]
[StringLength(255, MinimumLength = 1)]
- [DirectoryExists]
- [DirectoryIsRelative]
+ [DirectoryExists(relativeToApplicationDirectory: true)]
[RequiresRestart]
public string ContentPath { get; init; } = "wwwroot";