Fix loopback address not working

This commit is contained in:
unknown
2015-07-19 18:06:21 -06:00
parent 2fa280deae
commit a37f1df313

View File

@@ -25,7 +25,7 @@ namespace Jackett.Models.Config
{
external = AllowExternal;
}
return "http://" + (external.Value ? "*" : "localhost") + ":" + Port + "/";
return "http://" + (external.Value ? "*" : "127.0.0.1") + ":" + Port + "/";
}
public string GenerateApi()