mirror of https://github.com/Jackett/Jackett
Fix loopback address not working
This commit is contained in:
parent
211bfbfdf0
commit
69ef08f019
|
@ -25,7 +25,7 @@ namespace Jackett.Models.Config
|
||||||
{
|
{
|
||||||
external = AllowExternal;
|
external = AllowExternal;
|
||||||
}
|
}
|
||||||
return "http://" + (external.Value ? "*" : "localhost") + ":" + Port + "/";
|
return "http://" + (external.Value ? "*" : "127.0.0.1") + ":" + Port + "/";
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GenerateApi()
|
public string GenerateApi()
|
||||||
|
|
Loading…
Reference in New Issue