aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Program.cs
diff options
context:
space:
mode:
authorskar07 <sanskarpandey0@gmail.com>2022-10-10 14:54:50 +0530
committerskar07 <sanskarpandey0@gmail.com>2022-10-10 14:54:50 +0530
commit56bfdfc22b7a2cb9f7270f83498548f93ab4a04e (patch)
treeb7c8f922b06fc7dd109266b729db4550e8b0b7fb /src/slskd/Program.cs
parent5a7200df770935060ca0e034c90c780821105ec4 (diff)
downloadslskd-56bfdfc22b7a2cb9f7270f83498548f93ab4a04e.tar.gz
fix: change contentPath to use relative path
Diffstat (limited to 'src/slskd/Program.cs')
-rw-r--r--src/slskd/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index 2faf9e72..7a1e636f 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -736,7 +736,7 @@ namespace slskd
// serve static content from the configured path
FileServerOptions fileServerOptions = default;
- var contentPath = Path.GetFullPath(OptionsAtStartup.Web.ContentPath);
+ var contentPath = Path.Combine(AppContext.BaseDirectory, OptionsAtStartup.Web.ContentPath);
fileServerOptions = new FileServerOptions
{