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