ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
13 lines
642 B
Diff
13 lines
642 B
Diff
diff --git a/ArchiSteamFarm/IPC/ArchiKestrel.cs b/ArchiSteamFarm/IPC/ArchiKestrel.cs
|
|
index 371d305c..701eab3d 100644
|
|
--- a/ArchiSteamFarm/IPC/ArchiKestrel.cs
|
|
+++ b/ArchiSteamFarm/IPC/ArchiKestrel.cs
|
|
@@ -76,7 +76,7 @@ internal static class ArchiKestrel {
|
|
HostBuilder builder = new();
|
|
#endif
|
|
|
|
- string customDirectory = Path.Combine(Directory.GetCurrentDirectory(), SharedInfo.WebsiteDirectory);
|
|
+ string customDirectory = AppContext.BaseDirectory;
|
|
string websiteDirectory = Directory.Exists(customDirectory) ? customDirectory : Path.Combine(AppContext.BaseDirectory, SharedInfo.WebsiteDirectory);
|
|
|
|
// Set default content root
|