diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-01-11 08:59:47 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-01-11 08:59:47 -0600 |
| commit | 403924e041ed678725cd347fd19b263f0efeabb8 (patch) | |
| tree | 1ac021e1b39d26ee1a4b2b40c5480c3e8e74f85f | |
| parent | ed792319f23887c7579a3acde2aea5b3fd916eae (diff) | |
| download | slskd-403924e041ed678725cd347fd19b263f0efeabb8.tar.gz | |
fix ContentPath
| -rw-r--r-- | src/slskd/Core/Options.cs | 3 |
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"; |
