1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-27 18:29:47 +00:00

Fix relative WebContent path bug

This commit is contained in:
zone117x 2015-04-21 19:00:13 -06:00
parent 0cb0dbcb60
commit 5e2deb36c0

View file

@ -13,7 +13,7 @@ namespace Jackett
{
public class WebApi
{
static string WebContentFolder = "WebContent";
static string WebContentFolder = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "WebContent");
static string[] StaticFiles = Directory.EnumerateFiles(WebContentFolder, "*", SearchOption.AllDirectories).ToArray();
public enum WebApiMethod