aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-05-09 19:04:10 -0500
committerJP Dillingham <jp@dillingham.me>2026-05-09 19:04:10 -0500
commite73ccbe4b6bd35449e88e261aa6bfb869952517c (patch)
treea05e839b2a0387c3142c146c4bcd10a2e515abff /src/slskd
parent4d35aa93d565b931ae06188beb2aca242619cb7f (diff)
downloadslskd-e73ccbe4b6bd35449e88e261aa6bfb869952517c.tar.gz
mark contentpath relative
Diffstat (limited to 'src/slskd')
-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 9fe8270b..7c391959 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -2043,6 +2043,7 @@ namespace slskd
[EnvironmentVariable("CONTENT_PATH")]
[Description("path to static web content")]
[StringLength(255, MinimumLength = 1)]
+ [RelativePath]
[DirectoryExists(relativeToApplicationDirectory: true)]
[RequiresRestart]
public string ContentPath { get; init; } = "wwwroot";