aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Core')
-rw-r--r--src/slskd/Core/Options.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 4c146d32..484a514b 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1167,6 +1167,7 @@ namespace slskd
[Description("path to static web content")]
[StringLength(255, MinimumLength = 1)]
[DirectoryExists]
+ [DirectoryIsRelative]
[RequiresRestart]
public string ContentPath { get; init; } = "wwwroot";