Fix loopback address not working

This commit is contained in:
unknown 2015-07-19 18:06:21 -06:00
parent 211bfbfdf0
commit 69ef08f019
1 changed files with 1 additions and 1 deletions

View File

@ -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()