Fix ASF-ui for single-file publishes

This commit is contained in:
JustArchi
2019-12-05 22:13:52 +01:00
parent 71b6d805a1
commit 0fd649fac2

View File

@@ -37,7 +37,7 @@ using Microsoft.Extensions.Hosting;
namespace ArchiSteamFarm.IPC {
internal static class ArchiKestrel {
internal static HistoryTarget HistoryTarget { get; private set; }
internal static string WebsiteDirectory { get; private set; } = Path.Combine(SharedInfo.HomeDirectory, SharedInfo.WebsiteDirectory);
internal static string WebsiteDirectory { get; private set; } = Path.Combine(AppContext.BaseDirectory, SharedInfo.WebsiteDirectory);
#if NETFRAMEWORK
private static IWebHost KestrelWebHost;