diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-05-04 21:08:58 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-05-04 21:08:58 -0500 |
| commit | e4762962e0849ef768519a7e053cd2cafc7973b9 (patch) | |
| tree | 37f3b7507c3edcb97e6fe52a529df786ca1aac51 | |
| parent | cd2a45dcc097d1a5a3ec299a644a630acd63158d (diff) | |
| download | slskd-e4762962e0849ef768519a7e053cd2cafc7973b9.tar.gz | |
check that the content path exists
| -rw-r--r-- | src/slskd/Options.cs | 1 |
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"; |
