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:
parent
0cb0dbcb60
commit
5e2deb36c0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue